Re: Quickly remove contents from NSArrayController
Re: Quickly remove contents from NSArrayController
- Subject: Re: Quickly remove contents from NSArrayController
- From: Martin Linklater <email@hidden>
- Date: Mon, 24 Mar 2008 14:26:27 +0000
I would think that
[itemBrowserArrayCTRL removeAllObjects];
would be your best. By calling arrangedObjects and feeding it to
removeObjects:, you're causing your array to sort all 15000 entries
before it removes them individually.
NSArrayController doesn't have a removeAllObjects method...
_______________________________________________
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