• 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
Path from a NSDictionary
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Path from a NSDictionary


  • Subject: Path from a NSDictionary
  • From: "Parichay Gupta" <email@hidden>
  • Date: Thu, 15 May 2003 15:50:15 +0530

Hi,

I'm writing an application using Cocoa/Objective-C. In my application, I have
a propertylist NSDictionary, the content of which is something like the
following:
<dict>

<key>Key1</key>

<dict>

<key>Key11</key>

<dict>

<key>Key111</key>

<string>String1</string>

<key>Key112</key>

<string>String2</string>

</dict>

</dict>

</dict>

Using the method writeToFile, I need to write the content of the dictionary
into a file in the following format:

/Key1/Key11/Key111

/Key1/Key11/Key112

Can anybody give me a hint, how will I create the above-mentioned path for a
key?

TIA,

Parichay Gupta
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: NSImages and Distributed Objects
  • Next by Date: NSPopUpButton failure after adding file names
  • Previous by thread: NSImages and Distributed Objects
  • Next by thread: Re: Path from a NSDictionary
  • Index(es):
    • Date
    • Thread