Re: Proper way to initialize application support file
Re: Proper way to initialize application support file
- Subject: Re: Proper way to initialize application support file
- From: Kyle Sluder <email@hidden>
- Date: Wed, 17 Feb 2010 21:27:26 -0800
On Wed, Feb 17, 2010 at 8:49 PM, Paul Johnson <email@hidden> wrote:
> Kyle, I've reread your post and now see your last sentence, where you
> mention Library/Caches. I guess that could be an acceptable location
> for the data I download from the internet. I still feel the data as
> being more "persistent" than data associated with a 'cache' though.
The point of Library/Caches is that the data can disappear at any
time. You are right that Library/Caches would not be the appropriate
place for that data.
> I'm considering adding a build phase that runs a little program to
> acquire data from the internet and copy it to the Application bundle.
> That would avoid an annoying delay in starting up the program for the
> first time after installation. Then if the user ever wanted to update
> the data, he/she could explicitly do it.
In that case, I would put that data in the Resources folder inside the
app bundle, but put the fresh data in Library/Application Support, and
defer to data in that location if present.
--Kyle Sluder
_______________________________________________
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