mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-05-06 08:53:25 +08:00
Expose access to the RKMapperOperationDelegate to RKObjectRequestOperation subclasses. closes #1009
This commit is contained in:
@@ -235,6 +235,7 @@ static NSString *RKStringDescribingURLResponseWithData(NSURLResponse *response,
|
||||
data:self.HTTPRequestOperation.responseData
|
||||
responseDescriptors:self.responseDescriptors];
|
||||
self.responseMapperOperation.targetObject = self.targetObject;
|
||||
self.responseMapperOperation.mapperDelegate = self;
|
||||
[self.responseMapperOperation setQueuePriority:[self queuePriority]];
|
||||
[self.responseMapperOperation setWillMapDeserializedResponseBlock:self.willMapDeserializedResponseBlock];
|
||||
[[RKObjectRequestOperation responseMappingQueue] addOperation:self.responseMapperOperation];
|
||||
|
||||
Reference in New Issue
Block a user