Implemented nested mapping for structures similar to the BuildBot JSON structure. fixes #112

This commit is contained in:
Blake Watters
2011-06-17 11:55:57 -04:00
parent e9e4c83630
commit 3bf4b7bc0f
18 changed files with 3342 additions and 77 deletions

View File

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