• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Remove specific items from an Array - is this the best way?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Remove specific items from an Array - is this the best way? (From: Steve Cronin <email@hidden>)

  • Prev by Date: Remove specific items from an Array - is this the best way?
  • Next by Date: Re: NSImage resizing
  • Previous by thread: Remove specific items from an Array - is this the best way?
  • Next by thread: open folders as documents
  • Index(es):
    • Date
    • Thread