FROM : Jeff LaMarche
DATE : Mon Mar 24 15:35:38 2008
Doh! You're right if course. How about using removeSelectedIndexes:?
Should be faster than sorting the contents before removing them,
Sent from my iPhone
On Mar 24, 2008, at 10:26 AM, Martin Linklater <<email_removed>>
wrote:
>> 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_removed>)
>
> 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:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>
DATE : Mon Mar 24 15:35:38 2008
Doh! You're right if course. How about using removeSelectedIndexes:?
Should be faster than sorting the contents before removing them,
Sent from my iPhone
On Mar 24, 2008, at 10:26 AM, Martin Linklater <<email_removed>>
wrote:
>> 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_removed>)
>
> 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:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>
| Related mails | Author | Date |
|---|---|---|
| Martin Linklater | Mar 24, 15:16 | |
| Jeff LaMarche | Mar 24, 15:21 | |
| Martin Linklater | Mar 24, 15:26 | |
| Jeff LaMarche | Mar 24, 15:35 | |
| Kyle Sluder | Mar 24, 15:42 | |
| Martin Linklater | Mar 24, 23:15 |






Cocoa mail archive

