Migrate RKResponse property from RKObjectLoader to RKRequest. refs #527

This commit is contained in:
Blake Watters
2012-05-18 20:05:25 -04:00
parent 489bb0423a
commit ada95e0281
6 changed files with 54 additions and 55 deletions

View File

@@ -136,14 +136,8 @@ typedef void(^RKObjectLoaderDidLoadObjectsDictionaryBlock)(NSDictionary *diction
* includes Core Data specific mapping logic.
*/
@interface RKObjectLoader : RKRequest {
RKObjectMappingProvider *_mappingProvider;
RKResponse* _response;
RKObjectMapping* _objectMapping;
RKObjectMappingResult* _result;
RKObjectMapping* _serializationMapping;
NSString* _serializationMIMEType;
NSObject* _sourceObject;
NSObject* _targetObject;
id _sourceObject;
id _targetObject;
dispatch_queue_t _mappingQueue;
}
@@ -213,7 +207,7 @@ typedef void(^RKObjectLoaderDidLoadObjectsDictionaryBlock)(NSDictionary *diction
/**
* The underlying response object for this loader
*/
@property (nonatomic, readonly) RKResponse *response;
@property (nonatomic, retain, readonly) RKResponse *response;
/**
* The mapping result that was produced after the request finished loading and