Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

DescriptionBuilder (iPhone Utility Program) - Assists implementing description method.

branch: master

Merge pull request #1 from tomohisa/master

It looks more useful. Thank you so much.
latest commit 990778b471
kishikawa katsumi authored February 26, 2012
Octocat-spinner-32 Classes fixed to show only appropriate method on header file February 26, 2012
Octocat-spinner-32 DescriptionBuilder.xcodeproj Update comment. September 10, 2009
Octocat-spinner-32 .gitattributes First commit. September 07, 2009
Octocat-spinner-32 .gitignore First commit. September 07, 2009
Octocat-spinner-32 DescriptionBuilder-Info.plist First commit. September 07, 2009
Octocat-spinner-32 DescriptionBuilder_Prefix.pch First commit. September 07, 2009
Octocat-spinner-32 MainWindow.xib First commit. September 07, 2009
Octocat-spinner-32 README Update README. September 07, 2009
Octocat-spinner-32 main.m First commit. September 07, 2009
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.