Is this an UITableView -beginUpdates documentation error?

Posted by mystify on Stack Overflow See other posts from Stack Overflow or by mystify
Published on 2010-04-14T15:05:50Z Indexed on 2010/04/14 15:53 UTC
Read the original article Hit count: 270

Filed under:
|

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.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about uitableview