mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-05-20 23:51:11 +08:00
Expanded specs and began migrating all the content for testing out in the Fixtures directory. Fixtures is now the root for the Sinatra app and there are new helpers in RKSpecEnvironment.m. Added specs for several users use cases from the mailing list. Introduced a new warning when attempting to map did not set any properties.
This commit is contained in:
@@ -140,7 +140,7 @@ static RKObjectManager* sharedManager = nil;
|
||||
RKObjectLoader* objectLoader = nil;
|
||||
|
||||
Class managedObjectLoaderClass = NSClassFromString(@"RKManagedObjectLoader");
|
||||
if (managedObjectLoaderClass) {
|
||||
if (self.objectStore && managedObjectLoaderClass) {
|
||||
objectLoader = [managedObjectLoaderClass loaderWithResourcePath:resourcePath objectManager:self delegate:delegate];
|
||||
} else {
|
||||
objectLoader = [RKObjectLoader loaderWithResourcePath:resourcePath objectManager:self delegate:delegate];
|
||||
|
||||
Reference in New Issue
Block a user