Is this an UITableView -beginUpdates documentation error?
- by mystify
I can't wrap my head around what they tried to say here in the docs for -beginUpdate:
Call this method if you want
subsequent insertions, deletion, and
selection operations (for example,
cellForRowAtIndexPath: and
indexPathsForVisibleRows) to be
animated simultaneously.
Let's see... cellForRowAtIndexPath: and indexPathsForVisibleRows are both GETTER methods. They do not update anything and do not change anything. So why should I call -beginUpdates before calling these? And what's animated regarding these? Well, nothing, huh? Just want to make sure this is really an error in the docs and I didn't miss something.