• 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: NSTableView with large arrays
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView with large arrays


  • Subject: Re: NSTableView with large arrays
  • From: j o a r <email@hidden>
  • Date: Tue, 8 Nov 2005 11:43:40 +0100


On 8 nov 2005, at 11.27, Trygve Inda wrote:

How should I handle it in Cocoa? In Carbon, all 10,000 records are never in
memory at once, but all the Cocoa examples I have seen load up an
NSMutableArray with all the table data and use objectAtIndex:rowIndex to
show it.


Does NSTableView cache data at all?

No, it only requests, and "caches", the visible rows.

How well will it perform with 10,000 rows?

It depends completely on your data source implementation. You can still make it lazy if you want to. 10.000 rows should be no problem at all.


j o a r


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSTableView with large arrays
      • From: Trygve Inda <email@hidden>
References: 
 >NSTableView with large arrays (From: Trygve Inda <email@hidden>)

  • Prev by Date: Re: Repost: NSBrowser with NSTreeController
  • Next by Date: Re: NSTableView with large arrays
  • Previous by thread: NSTableView with large arrays
  • Next by thread: Re: NSTableView with large arrays
  • Index(es):
    • Date
    • Thread