Re: Best way to save user preferences
Re: Best way to save user preferences
- Subject: Re: Best way to save user preferences
- From: Jaime Magiera <email@hidden>
- Date: Sat, 14 Dec 2002 12:07:47 -0500
Per advice of others this list, I started using the NSUserDefaults()
API. It's basic Key-Value Coding stuff. There are a few quirks that I
had to figure out, but so far it's quite developer friendly.
NSUserdefaults doesn't seem good for large chunks of data. In those
cases, I use the plist format. There are simple NSDictionary -> plist
methods (writeToFile, etc.) that are pretty straight forward.
Pan
On Saturday, December 14, 2002, at 11:34 AM, psfische wrote:
What is the best/preferred way to save user preferences. Is this
commonly done via a plist? Thanks for any help you guys can give.
--Pete
_______________________________________________
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.
_______________________________________________
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.