• 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
How to use NSMutableArray's filteredArrayUsingPredicate
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to use NSMutableArray's filteredArrayUsingPredicate


  • Subject: How to use NSMutableArray's filteredArrayUsingPredicate
  • From: Eric Gorr <email@hidden>
  • Date: Tue, 18 Dec 2007 22:46:33 -0500

I've got a NSMutableArray filled with NSDictionarys with two keys (@"Abbreviation" & @"Index" ) whose values are NSString's.

What I would like to do is be able to use filteredArrayUsingPredicate on this array and have a new array containing only those elements where Abbreviation was 'Po'.

I assume this is possible and relatively easy if you already know the answer...however, I do not and was hoping someone could tell me how to accomplish this.

Thank you.




_______________________________________________

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


  • Follow-Ups:
    • Re: How to use NSMutableArray's filteredArrayUsingPredicate
      • From: Eric Gorr <email@hidden>
  • Prev by Date: Using C99 with cocoa
  • Next by Date: Re: Dir of app
  • Previous by thread: Re: Using C99 with cocoa
  • Next by thread: Re: How to use NSMutableArray's filteredArrayUsingPredicate
  • Index(es):
    • Date
    • Thread