Reimplemented the managed object store, converted managed object seeder to importer, cleaned up test breakage.

This commit is contained in:
Blake Watters
2012-07-26 17:31:27 -04:00
parent 8183591ccd
commit 07aadeebdf
23 changed files with 1124 additions and 685 deletions

View File

@@ -197,7 +197,7 @@ BOOL RKObjectIsValueEqualToValue(id sourceValue, id destinationValue);
+ (id)mappingForClass:(Class)objectClass inManagedObjectStore:(RKManagedObjectStore *)objectStore DEPRECATED_ATTRIBUTE
{
return [self mappingForEntityForName:NSStringFromClass(objectClass) inManagedObjectStore:objectStore];
return [self mappingForEntityWithName:NSStringFromClass(objectClass) inManagedObjectStore:objectStore];
}
+ (RKEntityMapping *)mappingForEntity:(NSEntityDescription *)entity inManagedObjectStore:(RKManagedObjectStore *)objectStore DEPRECATED_ATTRIBUTE
@@ -205,7 +205,7 @@ BOOL RKObjectIsValueEqualToValue(id sourceValue, id destinationValue);
return [[[self alloc] initWithEntity:entity inManagedObjectStore:objectStore] autorelease];
}
+ (RKEntityMapping *)mappingForEntityForName:(NSString *)entityName inManagedObjectStore:(RKManagedObjectStore *)objectStore DEPRECATED_ATTRIBUTE
+ (RKEntityMapping *)mappingForEntityWithName:(NSString *)entityName inManagedObjectStore:(RKManagedObjectStore *)objectStore DEPRECATED_ATTRIBUTE
{
return [self mappingForEntity:[NSEntityDescription entityForName:entityName inManagedObjectContext:objectStore.primaryManagedObjectContext]
inManagedObjectStore:objectStore];