Skip to content

Instantly share code, notes, and snippets.

@krhoyt
Created November 7, 2013 18:36
Show Gist options
  • Save krhoyt/7359627 to your computer and use it in GitHub Desktop.
Save krhoyt/7359627 to your computer and use it in GitHub Desktop.
Locate a file given a specific path.
- ( 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