View Code? Open in Web Editor
NEW
This project forked from kishikawakatsumi/descriptionbuilder
DescriptionBuilder (iPhone Utility Program) - Assists implementing description method.
Home Page: http://d.hatena.ne.jp/KishikawaKatsumi/
descriptionbuilder's Introduction
DescriptionBuilder (iPhone Utility Program)
DescriptionBuilder is helper class to make easier implementing NSObject description method.
Or dump all instance variables of any object.
* Usage
- (NSString *)description {
return [DescriptionBuilder reflectDescription:self];
}
Or,
- (NSString *)description {
return [DescriptionBuilder reflectDescription:self style:DescriptionStyleMultiLine];
}
Output:
<Settings: 0xd188b0; version = 100; autoLock = NO; twentyFourHourTime = YES; alarmSound = "digital-alarm"; alarmVolume = 1.000000>
* Author
KISHIKAWA Katsumi
http://d.hatena.ne.jp/KishikawaKatsumi/ (in Japanese)
* License
The new BSD license
descriptionbuilder's People
Contributors
Watchers