Uli's Web Site
[ Zathras.de - Uli's Web Site ]
Other Sites: Stories
Pix
Abi 2000
Stargate: Resurgence
Lost? Site Map!
 
 
     home | blog | moose | programming | articles >> blog

 Blog
 
 Archive
 
 Blog Topics
 

15 Most Recent [RSS]

 Less work through Xcode and shell scripts
2011-12-16 @600
 
 iTunesCantComplain released
2011-10-28 @954
 
 Dennis Ritchie deceased
2011-10-13 @359
 
 Thank you, Steve.
2011-10-06 @374
 
 Cocoa Text System everywhere...
2011-03-27 @788
 
 Blog migration
2011-01-29 @520
 
 All you need to know about the Mac keyboard
2010-08-09 @488
 
 Review: Sherlock
2010-07-31 @978
 
 Playing with Objective C on Debian
2010-05-08 @456
 
 Fruit vs. Obst
2010-05-08 @439
 
 Mixed-language ambiguity
2010-04-15 @994
 
 Uli's 12:07 AM Law
2010-04-12 @881
 
 Uli's 1:24 AM Law
2010-04-12 @874
 
 Uli's 6:28 AM Law
2010-04-12 @869
 
 Uli's 3:57 PM Law
2010-04-12 @867
 

More...

Where did Classdump go? Ah! There!

For ages I've been meaning to learn how to use classdump, the mystic tool of professional Cocoa programmers that lets you detect the private classes that Apple keeps hidden away inside their frameworks. When I recently got around to it, I was stumped: There was no copy of classdump available on the net anywhere. The web site of the programmer pointed to a dead page.

The only thing I found that was similar was Apple's otool command-line tool. which gives you a rather cryptic list of all the information in e.g. AppKit if you call:

otool -o -V /System/Library/Frameworks/AppKit.framework/AppKit > AppKit.classdump

which is the magic incantation to display the ObjC section of the framework verbosely (or, more correctly symbolically).

You'll get a huge text file that will cause even SubEthaEdit to pause a moment when you search it. But at least there's lots of info in there.

However, class-dump does more. It actually writes this output as an Objective C header. And after a little searching, I found that it's still available via Fink.

 
Created: 2005-06-10 @744 Last change: 2005-06-10 @787 | Home | Admin | Edit
© Copyright 2003-2014 by M. Uli Kusterer, all rights reserved.