Skip to content

Commit

Permalink
Changed Core Data concurrency type
Browse files Browse the repository at this point in the history
Fixes #174
Changed default settings for Dropbox keys, should not crash anymore
Fixes #173
  • Loading branch information
mgmart committed Feb 4, 2017
1 parent e178927 commit e0caa2c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Classes/MobileOrgAppDelegate.m
Expand Up @@ -213,7 +213,7 @@ - (NSManagedObjectContext *) managedObjectContext {

NSPersistentStoreCoordinator *coordinator = [self persistentStoreCoordinator];
if (coordinator != nil) {
managedObjectContext = [[NSManagedObjectContext alloc] initWithConcurrencyType: NSMainQueueConcurrencyType];
managedObjectContext = [[NSManagedObjectContext alloc] initWithConcurrencyType:NSPrivateQueueConcurrencyType];
[managedObjectContext setPersistentStoreCoordinator: coordinator];
}
return managedObjectContext;
Expand Down
4 changes: 2 additions & 2 deletions Configuration/AppKey.plist
Expand Up @@ -5,9 +5,9 @@
<key>Dropbox API Key</key>
<dict>
<key>AppKey</key>
<string>Your App Key</string>
<string>YourAppKey</string>
<key>AppSecret</key>
<string>Your App Key Secret</string>
<string>YourAppKeySecret</string>
</dict>
</dict>
</plist>

0 comments on commit e0caa2c

Please sign in to comment.