You can tell the tableView that you have a very large number of rows. tableView:cellForRowAtIndexPath: is only called when a cell will actually come into view, so even though you claim your table to be very large, not all cells are loaded immediately.

Luke

On Dec 17, 2009, at 7:01 PM, Karolis Ramanauskas wrote:

Dear developers,

I do not have an iPhone, so I may be wrong since Calendar is not available on the simulator. UITableView needs to know the number of sections and rows for each section beforehand. However, Calendar allows repeating events that
do not end, correct? If this is not correct, then my question may be
irrelevant.

If this is correct then how is the list view implemented? If I have, let's
say, an event that repeats every wednesday forever, how do I implement
UITableView? One option is to expand the recurrent dates for a certain date range and tell the table view the number of events in that date range, but then when the user scrolls to the end of that range, the user can't scroll anymore and the table needs to be reloaded. Is there a technique to update the table seamlessly, so when a user nears to the end of prefetched data, more can be supplied, so it looks that scrolling just continues without a
glitch?

I may be missing something here, and perhaps there is a simple solution, but I can't think of anything right now with my limited experience with iPhone
SDK.

Thanks,
Karolis
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/luketheh%40apple.com

This email sent to [email protected]

_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to