Created
April 21, 2011 10:51
-
-
Save AdamSwinden/934145 to your computer and use it in GitHub Desktop.
Path of file in documents directory
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); | |
NSString *documentsDirectory = [paths objectAtIndex:0]; | |
NSString *path = [documentsDirectory stringByAppendingPathComponent:@"file.plist"]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment