Re: where to put persistent storage for command-line app
Re: where to put persistent storage for command-line app
- Subject: Re: where to put persistent storage for command-line app
- From: Roland King <email@hidden>
- Date: Fri, 16 May 2014 14:21:36 +0800
~/Library/Application Support
is what I consider to be the standard place for persistent storage. I'd always start getting library from URLSForDirectory:inDomains: for the NSLibraryDirectory and go from there.
Also, if you sandbox the tool at some point, you'll get a NSLibraryDirectory directory which has that structure (<sandbox>/Library/Application Support) which would make sandboxing a little more direct.
On 16 May, 2014, at 2:11 pm, Rui Pacheco <email@hidden> wrote:
> Isn't /Application Support/ the standard?
>
>
> On 16 May 2014 05:47, William Squires <email@hidden> wrote:
>
>> Should I put it in /Library/Application\ Support/ or /Library/Preferences,
>> or somewhere else?
>>
>>
>> _______________________________________________
>>
>> 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
>
>
>
>
> --
>
> Rui Pacheco
> _______________________________________________
>
> 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
_______________________________________________
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