Xcode 3.2.6, iOS 4.3 (8F190 simulator)
I'm calling -indexPathsForRowsInRect:, which always works correctly if the
table isn't scrolled. But if the table is scrolled, and the supplied CGRect is
not necessarily over a row in the table. I still get back what appears to be a
valid array with a
It sounds like you're getting the index path you expect, but you're just
surprised that cellForRowAtIndexPath: with that index path returns nil when
it's scrolled out of view. If I'm reading that correctly, then this is correct
behavior. Note the comment in UITableView.h:
- (UITableViewCell
Huh. So it does. Thanks!
--
Rick
On Aug 18, 2011, at 14:47 , Luke Hiesterman wrote:
It sounds like you're getting the index path you expect, but you're just
surprised that cellForRowAtIndexPath: with that index path returns nil when
it's scrolled out of view. If I'm reading that