• 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: Can you populate an NSTableView with an NSEnumerator?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Can you populate an NSTableView with an NSEnumerator? (From: "Jarrod Roberson" <email@hidden>)

  • Prev by Date: Can you populate an NSTableView with an NSEnumerator?
  • Next by Date: Re: Can you populate an NSTableView with an NSEnumerator?
  • Previous by thread: Can you populate an NSTableView with an NSEnumerator?
  • Next by thread: Re: Can you populate an NSTableView with an NSEnumerator?
  • Index(es):
    • Date
    • Thread