Skip navigation.
 
mlRe: Quickly remove contents from NSArrayController
FROM : Martin Linklater
DATE : Mon Mar 24 15:26:27 2008

> 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...

Related mailsAuthorDate
mlQuickly remove contents from NSArrayController Martin Linklater Mar 24, 15:16
mlRe: Quickly remove contents from NSArrayController Jeff LaMarche Mar 24, 15:21
mlRe: Quickly remove contents from NSArrayController Martin Linklater Mar 24, 15:26
mlRe: Quickly remove contents from NSArrayController Jeff LaMarche Mar 24, 15:35
mlRe: Quickly remove contents from NSArrayController Kyle Sluder Mar 24, 15:42
mlRe: Quickly remove contents from NSArrayController Martin Linklater Mar 24, 23:15