Guest User

Untitled

a guest
Jul 18th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. if(!widget){
  2. widget = [[Widget alloc] initWithContext:[delegate managedObjectContext]];
  3.  
  4. NSError* error = nil;
  5.  
  6. if(![[widget managedObjectContext] obtainPermanentIDsForObjects:[NSArray arrayWithObject:widget] error:&error]){
  7. NSLog(@"%@", error);
  8. }
  9. }
  10.  
  11. "The model configuration used to open the store is incompatible with the one that was used to create the store."
Add Comment
Please, Sign In to add comment