Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

fenrus110

macrumors regular
Original poster
Mar 24, 2008
142
0
I pretty much followed Table View Controller Programming guide. And it's not like a lot of code.

- (BOOL)tableView:(UITableView *)tableView canMoveRowAtIndexPath:(NSIndexPath *) { return YES; }

and moveRowAtIndexPath is only executed once when you release your finger.

It looks very smooth on the simulator, but on the device, I find the animation rather clunky. When you reorder the rows in the Safari Bookmarks, I find that less clunky.
 

PhoneyDeveloper

macrumors 68040
Sep 2, 2008
3,114
93
The slowness of animations is related to how many views are being animated. If your cells have a lot of subviews that will make things slower.
 

fenrus110

macrumors regular
Original poster
Mar 24, 2008
142
0
hm.. I'm not doing anything special. I'm using the exact code given when you create a UITableViewController subclass in XCode.

In the cellForRowAtIndexPath, I just updated the

cell.text = [[someArr objectAtIndex:indexPath.row] title];

where title is just an NSString
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.