Getting path to ~/Library/Application Support/
Getting path to ~/Library/Application Support/
- Subject: Getting path to ~/Library/Application Support/
- From: Enigmarelle Development <email@hidden>
- Date: Sun, 16 Dec 2001 18:02:46 -0500
What's the best way to get the path to the user's Application Support
Folder? Currently I'm using the below code, but I'm not sure if it's
reliable in all cases.
NSArray *libraryDirectories =
NSSearchPathForDirectoriesInDomains(NSLibraryDirectory, NSUserDomainMask,
FALSE);
NSString * appSupportFolder = [[libraryDirectories objectAtIndex: 0 ]
stringByAppendingString:(NSString *)@"/Application Support/"];
TIA
-john c. warner
enigmarelle development
http://www.enigmarelle.com/