For UITableView
s, the order of insertion, deletion and move operations does not matter inside an update block because they are not performed until -endAnimations
is called, and then, they are performed as a batch update.
Let's say I have 3 arrays:
- deletions (just an index)
- insertions (index + object)
- moves (two indices)
How would I properly apply this 'delta' to an existing array, just like UITableView
would in its batch updates?