NSDictionary and XML-format property lists
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