I have a UITableview that has 8 rows corresponding to my NSMutableArray with 8 elements.
I want to move index 7 in the array to index 0, pushing down the previous index 0 to index 1. The previous index 6 would now be in index 7 position.
When I use
- insertObject:atIndex: my tableView crashes saying that the number or array items is now 9 instead of 8.
I have tried to create a temp array to hold the elements of the mutable array but I want a smooth transition of the cells moving downward instead of just reloading. Is there any way to do this?