Use the main queue for the managed object context as a hack to prevent merge conflicts

This commit is contained in:
Cameron Gutman 2016-01-21 16:17:05 -05:00
parent ad1b9059ee
commit 2ec7d1d2f1

View File

@ -20,7 +20,7 @@
self = [super init]; self = [super init];
_appDelegate = [[UIApplication sharedApplication] delegate]; _appDelegate = [[UIApplication sharedApplication] delegate];
_managedObjectContext = [[NSManagedObjectContext alloc] initWithConcurrencyType:NSPrivateQueueConcurrencyType]; _managedObjectContext = [[NSManagedObjectContext alloc] initWithConcurrencyType:NSMainQueueConcurrencyType];
[_managedObjectContext setPersistentStoreCoordinator:_appDelegate.persistentStoreCoordinator]; [_managedObjectContext setPersistentStoreCoordinator:_appDelegate.persistentStoreCoordinator];
return self; return self;