Cleanup project structure to match typical TT projects

This commit is contained in:
Blake Watters
2011-01-17 19:21:57 -05:00
parent c2f158924d
commit 9af28d3070
36 changed files with 57 additions and 54 deletions

View File

@@ -23,13 +23,13 @@
return [[self new] autorelease];
}
- (id<RKRequestSerializable>)paramsForSerialization {
- (NSObject<RKRequestSerializable>*)paramsForSerialization {
NSMutableDictionary* params = [NSMutableDictionary dictionary];
for (NSString* elementName in [[self class] elementToPropertyMappings]) {
NSString* propertyName = [[[self class] elementToPropertyMappings] objectForKey:elementName];
[params setValue:[self valueForKey:propertyName] forKey:elementName];
}
return [NSDictionary dictionaryWithDictionary:params];
}