Created
November 7, 2013 18:36
-
-
Save krhoyt/7359627 to your computer and use it in GitHub Desktop.
Locate a file given a specific path.
This file contains 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
- ( NSString * ) specificFilePath : ( NSString * ) path | |
{ | |
NSFileManager * manager; | |
manager = [NSFileManager defaultManager]; | |
// path = @"~/Desktop/colors.json"; | |
path = [path stringByStandardizingPath]; | |
NSLog( @"%@", path ); | |
return path; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment