• 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: Optimizing NSTreeController setContent: calls
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Optimizing NSTreeController setContent: calls


  • Subject: Re: Optimizing NSTreeController setContent: calls
  • From: Phil Frost <email@hidden>
  • Date: Mon, 5 Dec 2005 13:14:35 -0500

On Mon, Dec 05, 2005 at 07:50:31PM +0200, Aidas Dailide wrote:
> Hi there,
>
> I have NSTreeController with contentSet binded to my method
> contentSetForList that returns NSMutableSet. The problem is that
> adding items is quite slow and the main problem is that setContent:
> is called every time i add new item. Is there any way to avoid this
> call by somehow inserting item directly into NSTreeController's content?
>
> Thanks a lot,
> Aidas Dailide

Did you see insertObject* in the docs for NSTreeController, and
addObject: for NSObjectController?
_______________________________________________
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: 
 >Optimizing NSTreeController setContent: calls (From: Aidas Dailide <email@hidden>)

  • Prev by Date: Optimizing NSTreeController setContent: calls
  • Next by Date: loading server push
  • Previous by thread: Optimizing NSTreeController setContent: calls
  • Next by thread: loading server push
  • Index(es):
    • Date
    • Thread