Re: NSTableView with large arrays
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