Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to use NSMutableArray's filteredArrayUsingPredicate



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.