Re: Storing files into the Documents folder
Re: Storing files into the Documents folder
- Subject: Re: Storing files into the Documents folder
- From: Jens Alfke <email@hidden>
- Date: Tue, 10 Nov 2015 14:57:03 -0800
> On Nov 10, 2015, at 1:54 PM, Samuel Williams <email@hidden> wrote:
>
> A while ago I seem to recall reading on Apple's documentation that
> applications storing log files, save games, and other related data-files
> automatically into ~/Documents/ was not recommended
IMHO you shouldn’t hardcode writing anything into Documents. That folder is for the user’s use.
— If the file shouldn’t be user-visible, or if the user has no reason to use the file directly, don’t put it in a folder that's for user files. Instead use Application Support, Preferences, Caches, Logs…
— If the file _should_ be user-visible, you should give the user a choice of where to put it, i.e. use a Save panel instead of hardcoding ~/Documents.
—Jens
_______________________________________________
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