Skip to content

Instantly share code, notes, and snippets.

@krhoyt
Created November 7, 2013 18:37
Show Gist options
  • Save krhoyt/7359635 to your computer and use it in GitHub Desktop.
Save krhoyt/7359635 to your computer and use it in GitHub Desktop.
Get the current working directory.
- ( void ) currentWorkingDirectory
{
NSFileManager * manager;
manager = [NSFileManager defaultManager];
NSLog( @"%@", [manager currentDirectoryPath] );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment