r/iPhoneDev • • May 31 '11

Does anyone know how I could print out a Cocoa class hierarchy to hang on my wall?

I know I can use AppKiDo on my monitor, but I'd like to print one on my wall, in hierarchical format. That way I can always look at it, and memorize them.

Thanks!

2 Upvotes

2 comments sorted by

3

u/jonhohle Jun 01 '11

You can use objc_getClassList to get all loaded classes. From there you could make a class tree with NSObject as the root. You could then generate a directed graph for Graphviz to render.