Skip to content

Commit

Permalink
Merge branch 'master' of git@github.com:yfactorial/objectivesupport
Browse files Browse the repository at this point in the history
* 'master' of git@github.com:yfactorial/objectivesupport:
  [#49] add className method
  • Loading branch information
jjburka committed Feb 25, 2009
2 parents 63fdd3a + 8a2be3c commit 04b9c43
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Classes/lib/Core/NSObject+PropertySupport.h
Expand Up @@ -29,4 +29,7 @@
* values.
*/
- (void)setProperties:(NSDictionary *)overrideProperties;

- (NSString *)className;

@end
4 changes: 4 additions & 0 deletions Classes/lib/Core/NSObject+PropertySupport.m
Expand Up @@ -73,4 +73,8 @@ + (NSString *) getPropertyType:(NSString *)attributeString {
return type;
}

- (NSString *)className {
return NSStringFromClass([self class]);
}

@end

0 comments on commit 04b9c43

Please sign in to comment.