Re: where to put persistent storage for command-line app

2014-05-16 Thread Rui Pacheco
Isn't /Application Support/ the standard? On 16 May 2014 05:47, William Squires wsqui...@satx.rr.com wrote: Should I put it in /Library/Application\ Support/ or /Library/Preferences, or somewhere else? ___ Cocoa-dev mailing list

Re: where to put persistent storage for command-line app

2014-05-16 Thread Roland King
~/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

Re: where to put persistent storage for command-line app

2014-05-16 Thread ChanMaxthon
If you wish to follow UNIX standards, store generated files in a sub directory in /var/lib (global files) or dot-files in user home directory. NeXTSTEP use /Library/Application Support for globals and ~/Library/Application Support for user-specific. Sent from my iPhone On May 16, 2014, at

where to put persistent storage for command-line app

2014-05-15 Thread William Squires
Should I put it in /Library/Application\ Support/ or /Library/Preferences, or somewhere else? ___ 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

Re: where to put persistent storage for command-line app

2014-05-15 Thread Kyle Sluder
On May 15, 2014, at 8:47 PM, William Squires wsqui...@satx.rr.com wrote: Should I put it in /Library/Application\ Support/ or /Library/Preferences, or somewhere else? Definitely not in ~/Library/Preferences, unless you are using NSUserDefaults. What kind of persistent storage are you