Re: nested NSDictionary's and objectForKey
Re: nested NSDictionary's and objectForKey
- Subject: Re: nested NSDictionary's and objectForKey
- From: Quincey Morris <email@hidden>
- Date: Sat, 19 Sep 2009 02:06:30 -0700
On Sep 19, 2009, at 01:46, Russell Gray wrote:
That is what I need to do, I should clarify a little. I have one
plist. Inside that plist, is an NSDictionary with multiple keys, one
of the keys is an NSArray with multiple keys. (some NSDictionaries,
and NSStrings. One of the NSDictionaries contains an NSArray with
multiple keys.....
I want to get all the keys "myKeys" from all levels of the tree
structure, and add them to "myArray"
how would i go about that?
Recursively. Solve the problem for the top dictionary level, then
apply the solution recursively.
_______________________________________________
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