Skip to content

Instantly share code, notes, and snippets.

@rejahanwer
Created August 22, 2016 06:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rejahanwer/df8a3bc78aa521e5bb3e90e2502df3b8 to your computer and use it in GitHub Desktop.
Save rejahanwer/df8a3bc78aa521e5bb3e90e2502df3b8 to your computer and use it in GitHub Desktop.
A method that returns a URL to the current Application_Home/Documents directory
- (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