Use the main queue for the managed object context as a hack to prevent merge conflicts
This commit is contained in:
parent
ad1b9059ee
commit
2ec7d1d2f1
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@
|
|||
self = [super init];
|
||||
|
||||
_appDelegate = [[UIApplication sharedApplication] delegate];
|
||||
_managedObjectContext = [[NSManagedObjectContext alloc] initWithConcurrencyType:NSPrivateQueueConcurrencyType];
|
||||
_managedObjectContext = [[NSManagedObjectContext alloc] initWithConcurrencyType:NSMainQueueConcurrencyType];
|
||||
[_managedObjectContext setPersistentStoreCoordinator:_appDelegate.persistentStoreCoordinator];
|
||||
|
||||
return self;
|
||||
|
|
|
|||
Loading…
Reference in a new issue