Selecting an object based on the value of one of its attributes
Selecting an object based on the value of one of its attributes
- Subject: Selecting an object based on the value of one of its attributes
- From: Lynn Barton <email@hidden>
- Date: Tue, 27 Apr 2010 19:37:56 -0700
Newbie question: Consider an array of dictionary objects, all of the same class. One of the ivars of that class is an NSString which is unique for each instance. Does there already exist a method that will identify the one dictionary object that has a given value of that ivar, without me having to write code to examine all of the objects one by one? I have searched the documentation without finding such a method.
Lynn Barton
_______________________________________________
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