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

Optimizing NSTreeController setContent: calls


  • Subject: Optimizing NSTreeController setContent: calls
  • From: Aidas Dailide <email@hidden>
  • Date: Mon, 5 Dec 2005 19:50:31 +0200

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
_______________________________________________
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
  • Follow-Ups:
    • Re: Optimizing NSTreeController setContent: calls
      • From: Phil Frost <email@hidden>
  • Prev by Date: Re: resize image with cocoa
  • Next by Date: Re: Optimizing NSTreeController setContent: calls
  • Previous by thread: Re: custom text data and undo
  • Next by thread: Re: Optimizing NSTreeController setContent: calls
  • Index(es):
    • Date
    • Thread