Re: Can you populate an NSTableView with an NSEnumerator?
Re: Can you populate an NSTableView with an NSEnumerator?
- Subject: Re: Can you populate an NSTableView with an NSEnumerator?
- From: Hank Heijink <email@hidden>
- Date: Tue, 31 Oct 2006 14:17:55 -0500
There is no reason to use an NSArray to populate an NSTableView -- it
can be anything you want as long as you provide the datasource
methods. The documentation on NSTableView datasources should get you
started.
http://developer.apple.com/documentation/Cocoa/Reference/
ApplicationKit/Protocols/NSTableDataSource_Protocol/Reference/
Reference.html
On Oct 31, 2006, at 1:58 PM, Jarrod Roberson wrote:
I have some data I want to display in an NSTableView, the problem
is the
dataset can be big, as in hundreds of thousands of rows.
I have implemented a lightweight NSEnumerator that will let me
iterator
across the data without actually having to create a giant NSArray.
I can only find documentation on populating an NSTableView with an
NSArray,
for very very very very large datasets what is the prefered idiom(s)?
_______________________________________________
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
Hank Heijink
www.hankheijink.com
email@hidden
_______________________________________________
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