Skip to content

jjrscott/JJRSObjectDescription

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JJRSObjectDescription

Detailed object descriptions using NSCoder

JJRSObjectDescription uses NSCoder to traverse objects and return something like the default description.

For example, instead of writing:

NSLog(@"%@", yourObject);

use:

NSLog(@"%@", [JJRSObjectDescription descriptionForObject:yourObject]);

It's that easy.

Note that the output from +[JJRSObjectDescription descriptionForObject:] is for humans only, just like -[NSObject description].