mirror of
https://github.com/zhigang1992/MagicalRecord.git
synced 2026-01-12 17:32:18 +08:00
Merge branch 'master' of magicalpanda.github.com:magicalpanda/MagicalRecord
This commit is contained in:
@@ -133,12 +133,12 @@ NSString * const kMagicalRecordPSCDidCompleteiCloudSetupNotification = @"kMagica
|
||||
+ (NSPersistentStoreCoordinator *) MR_coordinatorWithInMemoryStore
|
||||
{
|
||||
NSManagedObjectModel *model = [NSManagedObjectModel MR_defaultManagedObjectModel];
|
||||
NSPersistentStoreCoordinator *psc = [[NSPersistentStoreCoordinator alloc] initWithManagedObjectModel:model];
|
||||
NSPersistentStoreCoordinator *coordinator = [[NSPersistentStoreCoordinator alloc] initWithManagedObjectModel:model];
|
||||
|
||||
[psc MR_addInMemoryStore];
|
||||
[coordinator MR_addInMemoryStore];
|
||||
MR_AUTORELEASE(coordinator);
|
||||
|
||||
return psc;
|
||||
return coordinator;
|
||||
}
|
||||
|
||||
+ (NSPersistentStoreCoordinator *) MR_newPersistentStoreCoordinator
|
||||
|
||||
Reference in New Issue
Block a user