Re: Searching a controller's content
Re: Searching a controller's content
- Subject: Re: Searching a controller's content
- From: Nik Youdale <email@hidden>
- Date: Mon, 23 Jan 2006 09:02:14 +1100
Are you using an NSDictionary??
if so, you can just call [dictoinary objectForKey:@"a key"] to get
that object. If you are using an NSArray the process is similar.
Hope this helps,
- Nik
On 23/01/2006, at 12: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"]
Is there such a method or do I have to iterate over the whole
content and compare each entry to my search-term?
Thanks in advance & best regards,
goessly
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com
This email sent to email@hidden
_______________________________________________
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