Re: Correct location to store application data.
Re: Correct location to store application data.
- Subject: Re: Correct location to store application data.
- From: Nathan Day <email@hidden>
- Date: Thu, 04 Dec 2008 17:14:36 +1100
If the data in the dictionary is simple you could perhaps look at
NSUserDefaults, you could use your dictionary file to initialise
NSUserDefaults, alternatively you could create a separate file in
preferences. Be warned that you can only stick property list types in
NSUserDefaults.
On 03/12/2008, at 21:20 , Jacob Rhoden wrote:
I have an application which contains a "dictionary" file of sorts.
Users can add/alter/and remove entries from a dictionary. I assume I
will have the default dictionary stored as part of the application
bundle somehow, and I should be saving a copy of some sort in a
second hidden location, ie it doesnt make sense to store it in the
"Documents" folder.
Best regards,
Jacob
_______________________________________________
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