Re: Searching a controller's content
Re: Searching a controller's content
- Subject: Re: Searching a controller's content
- From: mmalcolm crawford <email@hidden>
- Date: Sun, 22 Jan 2006 14:12:48 -0800
On Jan 22, 2006, at 5:17 AM, goessly wrote:
I'm looking for a method to obtain an object from a controllers'
content programmatically, like this:
id found = [someController getTheObjectThatHas: thisValue
forKey:@"theKeyInQuestion"]
Assuming the controller's content is an array, use
filteredArrayUsingPredicate:
<http://developer.apple.com/documentation/Cocoa/Reference/Foundation/
ObjC_classic/Classes/NSArray.html#//apple_ref/occ/instm/NSArray/
filteredArrayUsingPredicate:>
mmalc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden