Re: storing default preferences
Re: storing default preferences
- Subject: Re: storing default preferences
- From: cauri <email@hidden>
- Date: Sun, 14 Mar 2004 21:27:39 +0100
Thank you, however the first time the application runs, before the I
write the plist file, I need to store the initial data for those
preference lists (arrays) somewhere. What is the best method?
cauri
On Mar 14, 2004, at 7:45, Hiro Fujimoto wrote:
You can use NSUserDefaults to load & save the preference in an XML
format.
On 2004/03/14, at 15:21, cauri wrote:
My application has a number of lists that users can customise. I
manage these lists through the preferences panel. On first run (or on
the click of a "restore defaults" button) I would like these arrays
to populate with the default data. What is the best way to store this
data? In an XML file, a tabbed text file, or does some other
mechanism exist in cocoa? And what is the most efficient way to
retrieve this data?
_______________________________________________
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.