• 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
NSDictionary and XML-format property lists
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSDictionary and XML-format property lists


  • Subject: NSDictionary and XML-format property lists
  • From: Bill Cheeseman <email@hidden>
  • Date: Tue, 19 Jun 2001 07:06:14 -0400

Why doesn't NSDictionary have a 'description...' method named something like
'descriptionInXMLFormat'? I want to save data in XML format rather than the
old style property list format that NSDictionary's 'description' method
returns.

The Mac OS X 10.0 Cocoa release notes say you now get XML format for
property lists using NSDictionary's 'writeToFile:' and 'writeToURL:'
methods. I assume this is true, and I will try it. But the release notes
also refer to a new 'NSWriteOldStylePropertyLists' default value in
connection with this change. I assume this is a constant. But when I use
Project Builder's Find panel to search the Cocoa frameworks for it, I come
up with nothing. Can somebody point me in the right direction?

--

Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA

The AppleScript Sourcebook - www.AppleScriptSourcebook.com
Vermont Recipes - www.stepwise.com/Articles/VermontRecipes


  • Follow-Ups:
    • Re: NSDictionary and XML-format property lists
      • From: Ali Ozer <email@hidden>
    • Re: NSDictionary and XML-format property lists
      • From: Luke Adamson <email@hidden>
  • Prev by Date: Re: How to setup NSMatrix with IB?
  • Next by Date: NSDocument / window on screen
  • Previous by thread: Re: How to setup NSMatrix with IB?
  • Next by thread: Re: NSDictionary and XML-format property lists
  • Index(es):
    • Date
    • Thread