Created
June 28, 2013 14:09
-
-
Save Critter/5884943 to your computer and use it in GitHub Desktop.
Save localcontext using Magical Record
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
[localContext MR_saveToPersistentStoreWithCompletion:^(BOOL success, NSError *error) { | |
if (!success) | |
{ | |
NSLog(@"Error: %@", [error description]); | |
} | |
else | |
{ | |
NSLog(@"SAVED"); | |
} | |
}]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment