• 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: Saving application data in ~/Library/Application Support/
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Saving application data in ~/Library/Application Support/


  • Subject: Re: Saving application data in ~/Library/Application Support/
  • From: Mike Abdullah <email@hidden>
  • Date: Thu, 5 Feb 2009 12:49:25 +0000

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.

On 5 Feb 2009, at 02:05, Josh de Lioncourt wrote:

Hi,

I have some products under development written in C++. I am not using Cocoa for the most part, as these are cross-platform projects.

The apps themselves need to save, store, and access information, such as registration keys, user preferences, etc. It seems to me that the logical place to do this is in the ~/Library/Application Support/ directory.

Is it safe/recommended to access this directory using the above format, or is there a more accepted shortcut designation for that particular dir?

_______________________________________________

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


  • Follow-Ups:
    • Re: Saving application data in ~/Library/Application Support/
      • From: Josh de Lioncourt <email@hidden>
References: 
 >Saving application data in ~/Library/Application Support/ (From: Josh de Lioncourt <email@hidden>)

  • Prev by Date: System Activity shortly after booting
  • Next by Date: Re: NSService - I need a headslap (A Solution)
  • Previous by thread: Re: Saving application data in ~/Library/Application Support/
  • Next by thread: Re: Saving application data in ~/Library/Application Support/
  • Index(es):
    • Date
    • Thread