darling-cocotron/CoreData/NSInMemoryPersistentStore.m

25 lines
467 B
Mathematica
Raw Permalink Normal View History

#import "NSInMemoryPersistentStore.h"
#import <CoreData/NSPersistentStoreCoordinator.h>
@implementation NSInMemoryPersistentStore
+ (NSDictionary *) metadataForPersistentStoreWithURL: (NSURL *) url
2020-05-12 00:04:26 +00:00
error: (NSError **) error
{
return nil;
}
- (NSString *) type {
return NSInMemoryStoreType;
}
- (BOOL) load: (NSError **) errorp {
return YES;
}
- (BOOL) save: (NSError **) error {
return YES;
}
@end