• 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
Any ~/Sites/ equivalent of NSDocumentDirectory?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Any ~/Sites/ equivalent of NSDocumentDirectory?


  • Subject: Any ~/Sites/ equivalent of NSDocumentDirectory?
  • From: Michael Mulligan <email@hidden>
  • Date: Sat, 30 Aug 2003 20:23:05 -0400

I'm trying to make an application that needs to copy some files into the
~/Sites directory and so I'm trying to search the domain for the Sites
directory rather than hard-coding a path (a la
http://developer.apple.com/documentation/Cocoa/Conceptual/LowLevelFileMgmt/T
asks/LocatingDirectories.html).

However, there's one problem: there doesn't seem to be any constant that
represents the Sites folder (like there is to represent the Documents folder
using NSDocumentDirectory). Did I miss something? Or should I just hard-code
"Sites" (won't this not work for international users or is the folder named
"Sites" there as well?)?

Thanks in advance!

-Mike

__________
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me
spread!
__________
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Any ~/Sites/ equivalent of NSDocumentDirectory?
      • From: Dustin Voss <email@hidden>
    • Re: Any ~/Sites/ equivalent of NSDocumentDirectory?
      • From: j o a r <email@hidden>
    • Re: Any ~/Sites/ equivalent of NSDocumentDirectory?
      • From: Thomas Deniau <email@hidden>
    • Re: Any ~/Sites/ equivalent of NSDocumentDirectory?
      • From: Scott Anguish <email@hidden>
  • Prev by Date: Re: C again
  • Next by Date: Re: Enough with the newbie C questions!
  • Previous by thread: Re: C again
  • Next by thread: Re: Any ~/Sites/ equivalent of NSDocumentDirectory?
  • Index(es):
    • Date
    • Thread