xCodeGenerateDescriptionPlugin
Xcode plugin to automatically override the description method for your class. Because overriding the description method is really helpful in debugging, but doing it by hand takes forever.
Install
Via Alcatraz (preferred)
Manually
Download source code and run the project. The plugin will be automatically installed
Restart Xcode regardless of install method.
Usage
- In the .h file of your class, select all the properties you want included in your - (NSString *)description method.
- In the edit menu select Make Description
- Plugin will do all the work for you.
.h
.m
Notes
- Any property that's commented out with a // will not be included in the description
- Properties can have comments trailing them, such as @property (nonatomic) NSString *name; //el nombre