• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: What is the rationale behind keeping preferences in one place and "Application Support" files in another?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: What is the rationale behind keeping preferences in one place and "Application Support" files in another?
      • From: Nick Zitzmann <email@hidden>
    • Re: What is the rationale behind keeping preferences in one place and "Application Support" files in another?
      • From: Andy Armstrong <email@hidden>
References: 
 >What is the rationale behind keeping preferences in one place and "Application Support" files in another? (From: Andrei Tchijov <email@hidden>)
 >Re: What is the rationale behind keeping preferences in one place and "Application Support" files in another? (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Targeting 10.3
  • Next by Date: Re: Targeting 10.3
  • Previous by thread: Re: What is the rationale behind keeping preferences in one place and "Application Support" files in another?
  • Next by thread: Re: What is the rationale behind keeping preferences in one place and "Application Support" files in another?
  • Index(es):
    • Date
    • Thread