I have several UITableViews, with different datasources in a iPad screen.
I need to copy/move a cell from the first tableView to the second, similar how is done with
This is definitely a very interesting question, and I wish I had the time to put together some test code to see if the idea I'm about to outline would actually work. My hope is that this will at least point you in the right direction.
UITableViewCell is a subclass of UIView, so I would create a subclass of UITableViewCell called something like DraggableTableViewCell so we can handle the touch events and then perform the following steps:
deleteRowsAtIndexPaths:withRowAnimation:
touchesMoved:withEvent:
touchesEnded:withEvent:
is received, verify the cell is somewhat close to the other table view and determine the index path where to insert the new cellinsertRowsAtIndexPaths:withRowAnimation:
This entire process will need to be orchestrated by the view controller that controls the various table views on the screen.