We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 63faa41 commit 2d070f2Copy full SHA for 2d070f2
eIndberetning/AppDelegate.m
@@ -179,7 +179,7 @@ - (NSManagedObjectContext *)managedObjectContext {
179
if (!coordinator) {
180
return nil;
181
}
182
- _managedObjectContext = [[NSManagedObjectContext alloc] init];
+ _managedObjectContext = [[NSManagedObjectContext alloc] initWithConcurrencyType:NSMainQueueConcurrencyType];
183
[_managedObjectContext setPersistentStoreCoordinator:coordinator];
184
return _managedObjectContext;
185
0 commit comments