Skip to content

Instantly share code, notes, and snippets.

@nishabe
Last active August 12, 2018 18:20
Show Gist options
  • Save nishabe/d77f0576f5c717e21253614c60ecad85 to your computer and use it in GitHub Desktop.
Save nishabe/d77f0576f5c717e21253614c60ecad85 to your computer and use it in GitHub Desktop.
OBJC:Get applicationDocumentsDirectory
- (NSURL *)applicationDocumentsDirectory {
return [[[NSFileManager defaultManager] URLsForDirectory:NSDocumentDirectory inDomains:NSUserDomainMask] lastObject];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment