Declared in NSManagedObject+MagicalRecord.h

Class Methods

MR_ascendingSortDescriptors:

+ (NSArray *)MR_ascendingSortDescriptors:(NSArray *)attributesToSortBy

MR_createEntity

+ (instancetype)MR_createEntity

MR_createEntityInContext:

+ (instancetype)MR_createEntityInContext:(NSManagedObjectContext *)context

MR_defaultBatchSize

+ (NSUInteger)MR_defaultBatchSize

MR_deleteAllMatchingPredicate:

+ (BOOL)MR_deleteAllMatchingPredicate:(NSPredicate *)predicate

MR_deleteAllMatchingPredicate:inContext:

+ (BOOL)MR_deleteAllMatchingPredicate:(NSPredicate *)predicate inContext:(NSManagedObjectContext *)context

MR_descendingSortDescriptors:

+ (NSArray *)MR_descendingSortDescriptors:(NSArray *)attributesToSortBy

MR_entityDescription

+ (NSEntityDescription *)MR_entityDescription

MR_entityDescriptionInContext:

+ (NSEntityDescription *)MR_entityDescriptionInContext:(NSManagedObjectContext *)context

MR_entityName

+ (NSString *)MR_entityName
Discussion

If the NSManagedObject subclass calling this method has implemented the entityName method, then the return value of that will be used. If entityName is not implemented, then the name of the class is returned. If the class is written in Swift, the module name will be removed.

Return Value

String based name for the entity

Declared In

NSManagedObject+MagicalRecord.h

MR_executeFetchRequest:

+ (NSArray *)MR_executeFetchRequest:(NSFetchRequest *)request

MR_executeFetchRequest:inContext:

+ (NSArray *)MR_executeFetchRequest:(NSFetchRequest *)request inContext:(NSManagedObjectContext *)context

MR_executeFetchRequestAndReturnFirstObject:

+ (instancetype)MR_executeFetchRequestAndReturnFirstObject:(NSFetchRequest *)request

MR_executeFetchRequestAndReturnFirstObject:inContext:

+ (instancetype)MR_executeFetchRequestAndReturnFirstObject:(NSFetchRequest *)request inContext:(NSManagedObjectContext *)context

MR_performFetch:

+ (BOOL)MR_performFetch:(NSFetchedResultsController *)controller

MR_propertiesNamed:

+ (NSArray *)MR_propertiesNamed:(NSArray *)properties

MR_propertiesNamed:inContext:

+ (NSArray *)MR_propertiesNamed:(NSArray *)properties inContext:(NSManagedObjectContext *)context

MR_setDefaultBatchSize:

+ (void)MR_setDefaultBatchSize:(NSUInteger)newBatchSize

MR_truncateAll

+ (BOOL)MR_truncateAll

MR_truncateAllInContext:

+ (BOOL)MR_truncateAllInContext:(NSManagedObjectContext *)context

Instance Methods

MR_deleteEntity

- (BOOL)MR_deleteEntity

MR_deleteEntityInContext:

- (BOOL)MR_deleteEntityInContext:(NSManagedObjectContext *)context

MR_inContext:

- (instancetype)MR_inContext:(NSManagedObjectContext *)otherContext

MR_inThreadContext

- (instancetype)MR_inThreadContext