Re: Storing something in using plist(XML?)
Re: Storing something in using plist(XML?)
- Subject: Re: Storing something in using plist(XML?)
- From: Sherm Pendley <email@hidden>
- Date: Wed, 26 Jun 2002 20:07:30 -0400
On Wednesday, June 26, 2002, at 07:33 PM, Aidas wrote:
Could please someone give me example how to store strings using
plist(like
Apple is storing)?
Store your strings in an NSArray or NSDictionary, as appropriate for
your needs, and use the container class' writeToFile:atomically: or
writeToURL:atomically: method to store it. Also, the description method
will return a plist string from a container class.
sherm--
Never put off until tomorrow what you can do today. There might be a law
against it by that time.
_______________________________________________
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.