• 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: Basic question on /Library/Application Support
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Basic question on /Library/Application Support


  • Subject: Re: Basic question on /Library/Application Support
  • From: "Kiel Gillard" <email@hidden>
  • Date: Wed, 23 Jul 2008 08:53:23 +1000

Hi John,

If you use Carbon, you can use FSFindFolder() to find the application
support folder and have Carbon create it for you by passing kCreateFolder as
an argument. However, if you are using Cocoa, I'm not sure
if NSSearchPathForDirectoriesInDomains() creates folders when you search for
a path, as this is not obvious in the documentation. I would imagine it
would, but I would double check that this is the case. I also would not be
sure if that is a consistent behaviour among releases of Mac OS X, either.
Ideas, anyone else?

Hope this helps,

Kiel

You wrote:

Hello,

A generic install of Leopard produces a file system with NO
/Library/Application Support directory.

Is this directory something that is created by an Xcode install?

John F. Richardson
_______________________________________________

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

  • Follow-Ups:
    • Re: Basic question on /Library/Application Support
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: NSTask
  • Next by Date: Re: Exception thrown when calling NSConnection connectionWithReceivePort:sendPort:
  • Previous by thread: Re: CA: Are nested 3D transforms supported?
  • Next by thread: Re: Basic question on /Library/Application Support
  • Index(es):
    • Date
    • Thread