Re: plists, core foundation and cocoa
Re: plists, core foundation and cocoa
- Subject: Re: plists, core foundation and cocoa
- From: Deirdre Saoirse Moen <email@hidden>
- Date: Fri, 1 Jun 2001 22:15:36 -0700
Dumb newbie questions:
I'd like to read a XML file in plist form and turn it into Cocoa
objects, and vice-versa. Is that what NSSerializer does? If not, how
can I do this?
Along those lines, are the Cocoa "property list" objects related to
the CF property list objects? Is Cocoa Foundation built on top of
Core Foundation?
OK, OK, I promised to post my example at WWDC and I hadn't. I've been busy. :)
See my pListArchiving protocol and the example to show how to
read/write from an XML file. I didn't implement all data types I'd
intended and I meant to clean up the example a bit, but it does
answer your question.
http://deirdre.net/SillyFile.tar.gz
Use it however you like except to tar and feather. ;)
--
_Deirdre Stash-o-Matic:
http://weirdre.com http://deirdre.net
Macintosh Developer (seeking work): Will work for Cocoa
"I love deadlines. I like the whooshing sound they make as they fly by."
- Douglas Adams