Re: Remove specific items from an Array - is this the best way?
Re: Remove specific items from an Array - is this the best way?
- Subject: Re: Remove specific items from an Array - is this the best way?
- From: "Kyle Sluder" <email@hidden>
- Date: Tue, 13 Jan 2009 03:18:43 -0500
Take a look at function NSExpressions:
http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSExpression_Class/Reference/NSExpression.html#//apple_ref/doc/uid/TP30001190-SW11
You really can't get any more generic than NSPredicate. When you need
to remove a set of things from an array, you should just use
-filteredArrayUsingPredicate:.
--Kyle Sluder
_______________________________________________
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