Re: How many items can add into table view
Re: How many items can add into table view
- Subject: Re: How many items can add into table view
- From: "I. Savant" <email@hidden>
- Date: Mon, 21 Jan 2008 09:47:11 -0500
Now I use cocoa's table view to show item, but I want to know how
many items can add into table view.
2 billion or more. Since table views don't store data - only display
it - the number of items is limited to the greatest value of
NSInteger (in 10.5, int earlier).
More importantly is that if you're displaying so many rows in a
table view that you're worried about whether the table can handle it
performance-wise on reasonably modern hardware, you need to rethink
your design.
Users typically aren't going to find a table with more than a few
hundred rows to be a useful way of navigating their data in most
situations. You should consider providing a way of filtering /
limiting the displayed results and show that filtered / limited set by
default if the set is really, really big.
--
I.S.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden