Skip to content

Instantly share code, notes, and snippets.

@AhnSeongHyun
Created June 18, 2012 12:41
Show Gist options
  • Save AhnSeongHyun/2948198 to your computer and use it in GitHub Desktop.
Save AhnSeongHyun/2948198 to your computer and use it in GitHub Desktop.
GetDocPath
-(NSString*) GetDocPath //document 경로 반환
{
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *documentsDirectory = [paths objectAtIndex:0];
return documentsDirectory;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment