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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to