Initial implementation of documentation generation using the Appledoc parser. refs #48

* Cleaned up various mismatches in method signatures that were preventing documentation generation
* Removed naked ampersands from comments as they cause XML parser failures during docset generation via appledoc
This commit is contained in:
Blake Watters
2011-04-13 23:52:28 -04:00
parent 7d85a2bf4d
commit 9af6a59c79
13 changed files with 49 additions and 20 deletions

View File

@@ -29,8 +29,8 @@ static const NSString* kRKModelMapperRailsDateFormatString = @"MM/dd/yyyy";
- (Class)typeClassForProperty:(NSString*)property ofClass:(Class)class;
- (NSDictionary*)elementToPropertyMappingsForModel:(id)model;
- (id)findOrCreateInstanceOfModelClass:(Class)class fromElements:(NSDictionary*)elements;
- (id)createOrUpdateInstanceOfModelClass:(Class)class fromElements:(NSDictionary*)elements;
- (NSObject<RKObjectMappable>*)findOrCreateInstanceOfModelClass:(Class)class fromElements:(NSDictionary*)elements;
- (NSObject<RKObjectMappable>*)createOrUpdateInstanceOfModelClass:(Class)class fromElements:(NSDictionary*)elements;
- (void)updateModel:(id)model ifNewPropertyValue:(id)propertyValue forPropertyNamed:(NSString*)propertyName; // Rename!
- (void)updateModel:(id)model fromElements:(NSDictionary*)elements;
@@ -203,7 +203,7 @@ static const NSString* kRKModelMapperRailsDateFormatString = @"MM/dd/yyyy";
}
}
- (NSObject<RKObjectMappable>*)mapObjectFromDictionary:(NSDictionary*)dictionary toClass:(Class)class {
- (id)mapObjectFromDictionary:(NSDictionary*)dictionary toClass:(Class)class {
return [self createOrUpdateInstanceOfModelClass:class fromElements:dictionary];
}