• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How many items can add into table view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: How many items can add into table view (From: Gregory Weston <email@hidden>)

  • Prev by Date: Re: Delegates - I give up
  • Next by Date: Re: Delegates - I give up
  • Previous by thread: Re: How many items can add into table view
  • Next by thread: Re: How many items can add into table view
  • Index(es):
    • Date
    • Thread