Declared in NSManagedObjectContext+MagicalSaves.h

MRSaveOptions

Definition

typedef NS_OPTIONS(NSUInteger, MRSaveOptions ) {
   MRSaveOptionNone = 0,
   MRSaveParentContexts = 1 < < 1,
   MRSaveSynchronously = 1 < < 2,
   MRSaveSynchronouslyExceptRootContext = 1 < < 3,
};

Constants

MRSaveOptionNone

No options — used for cleanliness only

NSManagedObjectContext+MagicalSaves.h.

MRSaveParentContexts

When saving, continue saving parent contexts until the changes are present in the persistent store

NSManagedObjectContext+MagicalSaves.h.

MRSaveSynchronously

Perform saves synchronously, blocking execution on the current thread until the save is complete

NSManagedObjectContext+MagicalSaves.h.

MRSaveSynchronouslyExceptRootContext

Perform saves synchronously, blocking execution on the current thread until the save is complete; however, saves root context asynchronously

NSManagedObjectContext+MagicalSaves.h.