Re: Optimizing NSTreeController setContent: calls
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