• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: nested NSDictionary's and objectForKey
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >nested NSDictionary's and objectForKey (From: Russell Gray <email@hidden>)
 >Re: nested NSDictionary's and objectForKey (From: Quincey Morris <email@hidden>)
 >Re: nested NSDictionary's and objectForKey (From: Russell Gray <email@hidden>)

  • Prev by Date: Re: nested NSDictionary's and objectForKey
  • Next by Date: Re: Static Analyzer and Core Foundation
  • Previous by thread: Re: nested NSDictionary's and objectForKey
  • Next by thread: Re: Syntax Coloring?
  • Index(es):
    • Date
    • Thread