iOS Code Snippet TableView: Draggable Items

Hi,

attached you can find a small module, which allows you to have draggable items in a tableview.
Basically, it will add the following event to the TableView:

_MoveRow (SourceSection As Int, SourceRow As Int, SourceItem As Int, DestinationSection As Int, DestinationRow As Int, DestinationItem As Int)

Have a look at the example ;)

Jan
 

Attachments

Btw.: Unlike I said in other threads, it's not needed to change the delegate of the TableView. Here it was possible to extend the B4ITableViewDelgate delegate class and override certain delegate methods.
 

Similar Threads

  • Question Question
iOS Question TableView Usage
Replies
2
Views
794
Replies
26
Views
29K
Replies
38
Views
41K
Back
Top