• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Stupid Question: Changing location of application support folder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

__________________________________________________

Justin Williams                             email@hidden

work: www.maczealots.com      play: www.carpeaqua.com

Stay Hungry. Stay Foolish.

 _______________________________________________
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

References: 
 >Stupid Question: Changing location of application support folder (From: Clayton Leitch <email@hidden>)

  • Prev by Date: Multidimensional arrays
  • Next by Date: Re: Stupid Question: Changing location of application support folder
  • Previous by thread: Stupid Question: Changing location of application support folder
  • Next by thread: Re: Stupid Question: Changing location of application support folder
  • Index(es):
    • Date
    • Thread