• 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: where to put persistent storage for command-line app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: where to put persistent storage for command-line app
      • From: ChanMaxthon <email@hidden>
References: 
 >where to put persistent storage for command-line app (From: William Squires <email@hidden>)
 >Re: where to put persistent storage for command-line app (From: Rui Pacheco <email@hidden>)

  • Prev by Date: Re: where to put persistent storage for command-line app
  • Next by Date: Re: Question on NSTableViewDataSource Protocol
  • Previous by thread: Re: where to put persistent storage for command-line app
  • Next by thread: Re: where to put persistent storage for command-line app
  • Index(es):
    • Date
    • Thread