Re: Where/how to store lots of user application data
Re: Where/how to store lots of user application data
- Subject: Re: Where/how to store lots of user application data
- From: Ondra Cada <email@hidden>
- Date: Fri, 13 May 2005 19:24:08 +0200
Graham,
On 13.5.2005, at 18:00, Graham wrote:
I am new to Cocoa programming and wanted to ask where I should
start looking to learn the 'correct' method and location for
storing user data (such as a large number of images). I have
already been using the User defaults plist for simple application
preferences for the user, but I'd like to know where files should
be stored for a user. The images being stored are really just a cache.
Others said it all (Application Support, Caches, etc.). I'd just like
to add you should use the app identifier instead of app name for
folders: the identifier is unique thanks to the reverse DNS
principle, the app name may not be.
Namely, do not use "~/Library/Application Support/MyApp". Instead,
always use "~/Library/Application Support/com.gragsie.MyApp".
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden