Re: Stupid Question: Changing location of application support folder
Re: Stupid Question: Changing location of application support folder
- Subject: Re: Stupid Question: Changing location of application support folder
- From: Justin Williams <email@hidden>
- Date: Sun, 19 Jun 2005 09:38:04 -0500
On Jun 19, 2005, at 9:26 AM, Clayton Leitch wrote: I have a core data application using an SQLite datastore. It places this data store in my home folder/Library/Application Support, as expected. Is it possible to place the data store in /Library/Application Support ?
Thanks, Clay
I think all you need to do is change the domain in which you are looking for the Application Support folder. Instead of kUserDomain you will want kSystemDomain.
Of course, with changing this, your app is probably going to need to authenticate the user to create the folder since it's a system folder and not under the user's directory. I could be wrong though. |
_______________________________________________
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