mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-14 12:13:00 +08:00
Implemented nested mapping for structures similar to the BuildBot JSON structure. fixes #112
This commit is contained in:
@@ -28,6 +28,11 @@
|
||||
return self;
|
||||
}
|
||||
|
||||
- (id)copyWithZone:(NSZone *)zone {
|
||||
RKObjectAttributeMapping* copy = [[[self class] allocWithZone:zone] initWithSourceKeyPath:self.sourceKeyPath andDestinationKeyPath:self.destinationKeyPath];
|
||||
return copy;
|
||||
}
|
||||
|
||||
- (void)dealloc {
|
||||
[_sourceKeyPath release];
|
||||
[_destinationKeyPath release];
|
||||
|
||||
Reference in New Issue
Block a user