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

  • DraggableTV.bas
    2 KB · Views: 382
  • Draggable Items.zip
    3.3 KB · Views: 353

ilan

Expert
Licensed User
Longtime User
really awesome, JanPro!! i have not tested it yet but i am sure it works great. thanx a lot !!
 

JanPRO

Well-Known Member
Licensed User
Longtime User
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.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…