On Mon, Mar 24, 2008 at 10:35 AM, Jeff LaMarche <[EMAIL PROTECTED]> wrote:
> Doh! You're right if course. How about using removeSelectedIndexes:?
>  Should be faster than sorting the contents before removing them,

Hrm.  Why not try attacking this from the model end instead of the
controller end?  Since it only makes sense in this case for your
NSArrayController to be bound to an NSMutableArray (which I'm going to
assume is a property on an NSDocument subclass for this example), why
not use -[[myDocument mutableArrayValueForKey:@"theKey"]
setArray:[NSArray array]]?

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list ([email protected])

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/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to