Re: Global (all-user) preferences for an application
Re: Global (all-user) preferences for an application
- Subject: Re: Global (all-user) preferences for an application
- From: "Glenn L. Austin" <email@hidden>
- Date: Mon, 18 Mar 2013 14:03:43 -0700
On Mar 18, 2013, at 1:46 PM, Sean McBride <email@hidden> wrote:
> On Sat, 16 Mar 2013 11:14:55 +0100, Jean Suisse said:
>
>> According to you, what would be the best course of action ? Should I
>> write into my application's bundle ?
>
> Never write into your application bundle. It will fail in many cases, most notably: read-only file systems and App Sandbox.
Normally for shared preference or data you would write to a shared file in /Library/Application Support/companyname/filename, but you have to take special care if you're sandboxing your app.
--
Glenn L. Austin, Computer Wizard and Race Car Driver <><
<http://www.austin-soft.com>
_______________________________________________
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