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