From 280341791a3b915e8a6ab249726d55a21a1103b9 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Tue, 23 Jun 2015 22:09:08 -0700 Subject: [PATCH] Use non-deprecated NSManagedObjectContext initializer --- Limelight/AppDelegate.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Limelight/AppDelegate.m b/Limelight/AppDelegate.m index 2e89bd73..e976e410 100644 --- a/Limelight/AppDelegate.m +++ b/Limelight/AppDelegate.m @@ -103,7 +103,7 @@ static NSOperationQueue* mainQueue; NSPersistentStoreCoordinator *coordinator = [self persistentStoreCoordinator]; if (coordinator != nil) { - _managedObjectContext = [[NSManagedObjectContext alloc] init]; + _managedObjectContext = [[NSManagedObjectContext alloc] initWithConcurrencyType:NSPrivateQueueConcurrencyType]; [_managedObjectContext setPersistentStoreCoordinator:coordinator]; } return _managedObjectContext;