Inherits from NSObject
Declared in MagicalRecord.h

Tasks

Other Methods

ShorthandSupport Methods

ErrorHandling Methods

Options Methods

Setup Methods

Actions Methods

iCloud Methods

Class Methods

cleanUp

+ (void)cleanUp

currentStack

+ (NSString *)currentStack

defaultStoreName

+ (NSString *)defaultStoreName

errorHandlerAction

+ (SEL)errorHandlerAction

errorHandlerTarget

+ (id)errorHandlerTarget

handleErrors:

+ (void)handleErrors:(NSError *)error

isICloudEnabled

+ (BOOL)isICloudEnabled

saveInBackgroundUsingCurrentContextWithBlock:completion:errorHandler:

+ (void)saveInBackgroundUsingCurrentContextWithBlock:(void ( ^ ) ( NSManagedObjectContext *localContext ))block completion:(void ( ^ ) ( void ))completion errorHandler:(void ( ^ ) ( NSError *error ))errorHandler

saveInBackgroundWithBlock:

+ (void)saveInBackgroundWithBlock:(void ( ^ ) ( NSManagedObjectContext *localContext ))block

saveInBackgroundWithBlock:completion:

+ (void)saveInBackgroundWithBlock:(void ( ^ ) ( NSManagedObjectContext *localContext ))block completion:(void ( ^ ) ( void ))completion

saveUsingCurrentThreadContextWithBlock:completion:

+ (void)saveUsingCurrentThreadContextWithBlock:(void ( ^ ) ( NSManagedObjectContext *localContext ))block completion:(MRSaveCompletionHandler)completion

saveUsingCurrentThreadContextWithBlockAndWait:

+ (void)saveUsingCurrentThreadContextWithBlockAndWait:(void ( ^ ) ( NSManagedObjectContext *localContext ))block

saveWithBlock:

+ (void)saveWithBlock:(void ( ^ ) ( NSManagedObjectContext *localContext ))block

saveWithBlock:completion:

+ (void)saveWithBlock:(void ( ^ ) ( NSManagedObjectContext *localContext ))block completion:(MRSaveCompletionHandler)completion

saveWithBlockAndWait:

+ (void)saveWithBlockAndWait:(void ( ^ ) ( NSManagedObjectContext *localContext ))block

setDefaultModelFromClass:

+ (void)setDefaultModelFromClass:(Class)klass

setDefaultModelNamed:

+ (void)setDefaultModelNamed:(NSString *)modelName

setErrorHandlerTarget:action:

+ (void)setErrorHandlerTarget:(id)target action:(SEL)action

setShouldAutoCreateDefaultPersistentStoreCoordinator:

+ (void)setShouldAutoCreateDefaultPersistentStoreCoordinator:(BOOL)shouldAutoCreate

setShouldAutoCreateManagedObjectModel:

+ (void)setShouldAutoCreateManagedObjectModel:(BOOL)shouldAutoCreate

setShouldDeleteStoreOnModelMismatch:

+ (void)setShouldDeleteStoreOnModelMismatch:(BOOL)shouldDeleteStoreOnModelMismatch

setupAutoMigratingCoreDataStack

+ (void)setupAutoMigratingCoreDataStack

setupCoreDataStack

+ (void)setupCoreDataStack

setupCoreDataStackWithAutoMigratingSqliteStoreNamed:

+ (void)setupCoreDataStackWithAutoMigratingSqliteStoreNamed:(NSString *)storeName

setupCoreDataStackWithInMemoryStore

+ (void)setupCoreDataStackWithInMemoryStore

setupCoreDataStackWithStoreNamed:

+ (void)setupCoreDataStackWithStoreNamed:(NSString *)storeName

setupCoreDataStackWithiCloudContainer:contentNameKey:localStoreNamed:cloudStorePathComponent:

+ (void)setupCoreDataStackWithiCloudContainer:(NSString *)containerID contentNameKey:(NSString *)contentNameKey localStoreNamed:(NSString *)localStoreName cloudStorePathComponent:(NSString *)pathSubcomponent

setupCoreDataStackWithiCloudContainer:contentNameKey:localStoreNamed:cloudStorePathComponent:completion:

+ (void)setupCoreDataStackWithiCloudContainer:(NSString *)containerID contentNameKey:(NSString *)contentNameKey localStoreNamed:(NSString *)localStoreName cloudStorePathComponent:(NSString *)pathSubcomponent completion:(void ( ^ ) ( void ))completion

setupCoreDataStackWithiCloudContainer:localStoreNamed:

+ (void)setupCoreDataStackWithiCloudContainer:(NSString *)icloudBucket localStoreNamed:(NSString *)localStore

shouldAutoCreateDefaultPersistentStoreCoordinator

+ (BOOL)shouldAutoCreateDefaultPersistentStoreCoordinator

shouldAutoCreateManagedObjectModel

+ (BOOL)shouldAutoCreateManagedObjectModel

shouldDeleteStoreOnModelMismatch

+ (BOOL)shouldDeleteStoreOnModelMismatch
Discussion

@method shouldDeleteStoreOnModelMistmatch

Declared In

MagicalRecord+Options.h

swizzleShorthandMethods

+ (void)swizzleShorthandMethods

Instance Methods

handleErrors:

- (void)handleErrors:(NSError *)error