When doing [context save:&error]
warns you about:
- Usage of confinement contexts
- Main context saved in a background thread
- Background context saved in a main thread
#import "NSManagedObjectContext+HYPSafeSave.h"
- (BOOL)save:(NSError * __autoreleasing *)error;
NSManagedObjectContext-HYPSafeSave is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'NSManagedObjectContext-HYPSafeSave', '~> 0.5'
Hyper AS, teknologi@hyper.no
NSManagedObjectContext-HYPSafeSave is available under the MIT license. See the LICENSE file for more info.