- Timestamp:
- 01/09/09 15:46:53 (3 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/CoreData/SapphireFrappliance/FRAppliance/main_helper.m
r733 r739 23 23 24 24 @interface NSObject (SapphireApplianceControllerAPI) 25 - (NSManagedObjectContext *) createManagedObjectContextForFile:(NSString *)storeFile;25 - (NSManagedObjectContext *)newManagedObjectContextForFile:(NSString *)storeFile; 26 26 @end 27 27 … … 54 54 [bundle load]; 55 55 56 NSManagedObjectContext *moc = [NSClassFromString(@"SapphireApplianceController") createManagedObjectContextForFile:nil];56 NSManagedObjectContext *moc = [NSClassFromString(@"SapphireApplianceController") newManagedObjectContextForFile:nil]; 57 57 if(moc == nil) 58 { 59 [innerPool drain]; 58 60 return 0; 61 } 59 62 60 63 SapphireImportHelperClient *help = [[NSClassFromString(@"SapphireImportHelperClient") alloc] initWithContext:moc];
