Re: Saving application data in ~/Library/Application Support/
Re: Saving application data in ~/Library/Application Support/
- Subject: Re: Saving application data in ~/Library/Application Support/
- From: Josh de Lioncourt <email@hidden>
- Date: Thu, 5 Feb 2009 10:21:14 -0800
On Feb 5, 2009, at 4:49 AM, Mike Abdullah wrote:
Please, please, please do not store preferences in ~/Library/
Application Support/
They should go in ~/Library/Preferences
Everything else is fine to go in app support.
Apple provides both NSUserDefaults and CFPreferences APIs for
storing your prefs, although you could do it manually if you really
wish.
There are several reasons we're not doing it this way. One is that
our application data will be stored in a customized format that is
*not* a .plist file, because we need to maintain cross-platform
support. Yes, I know that technically I could write WIndows code to
parse the .plist, but the better, simpler solution for our specific
situation is customized data files. It doesn't seem wise to me to
store non-.plist files in ~/Library/Preferences. Believe me, I'm very
familiar with Mac. I actually realy dislike Windows, and if I could
drop cross-platform necessities, I would. :)
I've never seen anything that promoted the idea of storing non-
standard data files in that folder. If there's a good argument for
it, please enlighten me.
Josh de Lioncourt
Mac-cessibility: http://www.Lioncourt.com
Twitter: http://twitter.com/Lioncourt
"The rich declare themselves poor,
"And most of us are not sure,
"If we have too much,
"But we'll take our chances,
"'cause God stopped keeping score."
Praying for Time--George Michael
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden