Expose access to the RKMapperOperationDelegate to RKObjectRequestOperation subclasses. closes #1009

This commit is contained in:
Blake Watters
2012-11-29 23:34:35 -05:00
parent 648b159f9a
commit 89d0294dcd
3 changed files with 9 additions and 12 deletions

View File

@@ -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];