Re: Saving arbitrary types as property list
Re: Saving arbitrary types as property list
- Subject: Re: Saving arbitrary types as property list
- From: Fraser Speirs <email@hidden>
- Date: Fri, 8 Mar 2002 16:22:34 +0000
On Friday, March 8, 2002, at 12:31 PM, Marcel Weiher wrote:
Is it possible to implement some protocol on my own objects such that
I can perform writeToFile:atomically: on an NSArray of them and have
it stored in an xml property list?
Does it have to be an XML property list? If another XML format is
acceptable, the MPWXmlKit includes an XML NSArchiver/NSUnarchiver pair,
which means you just have to implement the NSCoding protocol.
That sounds interesting. The only reason I wanted to have it in a plist
is that one can edit them in the Property List Editor tool. Not a big
loss.
But I take it from your answer that I can't do what I wanted with
standard plists?
Fraser
--
Fraser Speirs
Department of Computing Science - University of Glasgow
Room G161, 17 Lillybank Gardens, Glasgow G12 8QQ
t: 0141 339 8855 ext.0917
e: email@hidden w: www.dcs.gla.ac.uk/~speirsfr
_______________________________________________
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.