To extract the header files hidden in the iPhone SDK, you must also use a powerful tool class-dump.
Class-dump is a tool that extracts class declarations from object-C, with this feature, we can find the unknown classes in the iPhone SDK and the methods without public classes.
Download connection of class-dump
Http://www.codethecode.com/projects/class-dump/
This class-dump can dump the Mac OS X (or the iPhone simulator) class. Now we can dump the library on the iPhone, which runs in the Mac environment.
Http://iphone.freecoder.org/classdump_en.html
Command line format:
Class-dump-X-h-o Class header file output path library binary file path
Example:
First, CD to the current directory of/users/link/Note.
Class-dump-X-h-o/users/link/desktop/headfold/developer/platforms/iphoneos. platform/developer/sdks/iphoneos2.0.sdk/system/library/privateframeworks/calendarui. framework/calendarui
You can extract all header files in the uikit framework to the/users/link/desktop/headfold Directory, which is not officially published.