Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
DescriptionBuilder (iPhone Utility Program) - Assists implementing description method.
Objective-C
tree: 0715e829a7

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Classes
DescriptionBuilder.xcodeproj
.gitattributes
.gitignore
DescriptionBuilder-Info.plist
DescriptionBuilder_Prefix.pch
MainWindow.xib
README
main.m

README

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
Something went wrong with that request. Please try again.