Any ~/Sites/ equivalent of NSDocumentDirectory?
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.