• 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: Mail-like grouping in NSTableView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mail-like grouping in NSTableView?


  • Subject: Re: Mail-like grouping in NSTableView?
  • From: Jens Alfke <email@hidden>
  • Date: Wed, 13 Feb 2008 08:12:34 -0800


On 13 Feb '08, at 7:34 AM, Jens Miltner wrote:

Due to the amount of data that _may_ be displayed (not that it necessarily makes sense), I believe using an NSOutlineView is probably ruled out due to it's reliance on one object per row (I don't want to have to allocate 100,000+ objects).

NSOutlineView only needs objects for visible rows. The dataSource API allows the implementor to be extremely lazy about instantiating row data. There shouldn't be any problem with huge collections, as long as your data source is careful about how it works.


(I think the minimum number of row objects necessary to be in memory is one per currently-open "folder", plus one more for the row being drawn at that instant.)

—Jens_______________________________________________

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: 
 >Mail-like grouping in NSTableView? (From: Jens Miltner <email@hidden>)

  • Prev by Date: Re: SScrypto framework
  • Next by Date: Re: Adding obj-c++ file to carbon project changes preprocessed header file types
  • Previous by thread: Re: Mail-like grouping in NSTableView?
  • Next by thread: Re: Mail-like grouping in NSTableView?
  • Index(es):
    • Date
    • Thread