Reranging a uitableview

Posted by Nicolay on Stack Overflow See other posts from Stack Overflow or by Nicolay
Published on 2010-06-10T13:41:03Z Indexed on 2010/06/11 8:02 UTC
Read the original article Hit count: 163

Filed under:
|
|

Hallo @ All

I ran into the same problem as desciped in http://stackoverflow.com/questions/1884491/crashing-while-trying-to-move-uitableview-rows! All I want to do is on specific reranging operations insert a new cell or delet the selected one!

Sometimes I get a

* Assertion failure in -[_UITableViewUpdateSupport _setupAnimationForReorderingRow], /SourceCache/UIKit/UIKit-963.10/UITableViewSupport.m:295 Attempt to create two animations for cell exception

and when I want to reload my data by calling [self.tableView reloadData] I get a

* Terminating app due to uncaught exception 'NSRangeException', reason: '* -[NSCFArray objectAtIndex:]: index (0) beyond bounds (0)'

This is quiet anoying! Is there anybody out there who knows how to handle this problem?

Please help me!

© Stack Overflow or respective owner

Related posts about iphone

Related posts about cocoa