Created
February 25, 2017 23:05
-
-
Save stevenhuey/ac774d5f81155bc390b3a25a60a63b16 to your computer and use it in GitHub Desktop.
NSPersistentContainer
This file contains 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
self.persistentContainer = [NSPersistentContainer persistentContainerWithName:@"Model"]; | |
[self.persistentContainer loadPersistentStoresWithCompletionHandler: | |
^(NSPersistentStoreDescription* description, NSError* error) { | |
NSLog(@"%@ %@", description, error); | |
}]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment