Created
April 2, 2015 18:38
-
-
Save vikdenic/c3bcfda0e61628b9f8b9 to your computer and use it in GitHub Desktop.
Locate Core Data sqlite
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - (NSURL *)applicationDocumentsDirectory { | |
| NSLog(@"%@",[[[NSFileManager defaultManager] URLsForDirectory:NSDocumentDirectory inDomains:NSUserDomainMask] lastObject]); | |
| // The directory the application uses to store the Core Data store file. This code uses a directory named "yourname.BookClub" in the application's documents directory. | |
| 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