• 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: NSOutlineView Problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSOutlineView Problem


  • Subject: Re: NSOutlineView Problem
  • From: Andreas Mayer <email@hidden>
  • Date: Thu, 10 Jun 2004 11:58:18 +0200

Am 10.06.2004 um 07:29 schrieb John Terranova:

It might make sense (depending on your data) to create the data lazily. The first time the outlineview asks you for it, you create it and return it. But, you also store the object in your own data structures, so that the next time the outlineview asks for the object, you don't have to create it, you just get it from your data structure.

If all else fails consider caching your 'intermediate' objects in a dictionary - at least for the lifetime of the outline view.


Andreas
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >NSOutlineView Problem (From: Scott Ahten <email@hidden>)
 >Re: NSOutlineView Problem (From: Andreas Mayer <email@hidden>)
 >Re: NSOutlineView Problem (From: Scott Ahten <email@hidden>)
 >Re: NSOutlineView Problem (From: John Terranova <email@hidden>)

  • Prev by Date: Re: NSToolbar with multiple lines?
  • Next by Date: Re: newbie questions about objective-c, ruby, python, groovy and cocoa
  • Previous by thread: Re: NSOutlineView Problem
  • Next by thread: Re: NSOutlineView Problem
  • Index(es):
    • Date
    • Thread