diff --git a/Classes/lib/Core/NSObject+PropertySupport.h b/Classes/lib/Core/NSObject+PropertySupport.h index 0bd527a..356c003 100644 --- a/Classes/lib/Core/NSObject+PropertySupport.h +++ b/Classes/lib/Core/NSObject+PropertySupport.h @@ -29,4 +29,7 @@ * values. */ - (void)setProperties:(NSDictionary *)overrideProperties; + +- (NSString *)className; + @end diff --git a/Classes/lib/Core/NSObject+PropertySupport.m b/Classes/lib/Core/NSObject+PropertySupport.m index bff6541..ec12759 100644 --- a/Classes/lib/Core/NSObject+PropertySupport.m +++ b/Classes/lib/Core/NSObject+PropertySupport.m @@ -73,4 +73,8 @@ + (NSString *) getPropertyType:(NSString *)attributeString { return type; } +- (NSString *)className { + return NSStringFromClass([self class]); +} + @end