Re: What is the rationale behind keeping preferences in one place and "Application Support" files in another?
Re: What is the rationale behind keeping preferences in one place and "Application Support" files in another?
- Subject: Re: What is the rationale behind keeping preferences in one place and "Application Support" files in another?
- From: John Stiles <email@hidden>
- Date: Thu, 8 Dec 2005 10:16:59 -0800
On Dec 8, 2005, at 9:55 AM, Nick Zitzmann wrote:
On Dec 8, 2005, at 10:37 AM, Andrei Tchijov wrote:
Will it be bad idea to keep preferences in "Application Support"
folder?
Yes, because then they can't be modified using the "defaults"
command line tool among other things. Just use NSUserDefaults to
load & store the application preferences.
I agree that prefs don't belong in Application Support, but the
"defaults" command line tool? Huh...? How is that relevant to our end
users?
There are certainly compelling reasons to use NSUserDefaults, and I'd
even consider that "compatibility with Property List Editor.app" is
one such reason. But I don't think it's common practice to use the
"defaults" tool, unless you're doing hacks from Mac OS X Hints or
something :)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden