Quickly remove contents from NSArrayController
Quickly remove contents from NSArrayController
- Subject: Quickly remove contents from NSArrayController
- From: Martin Linklater <email@hidden>
- Date: Mon, 24 Mar 2008 14:16:56 +0000
HI. I have an NSArrayController which has over 15000 entries. When I
clear the array using
[itemBrowserArrayCTRL removeObjects:[itemBrowserArrayCTRL
arrangedObjects]];
it takes a long time... like 10+ seconds on my MacBook Pro.
Is there a quicker way of clearing the contents ?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden