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