Class-dump is a tool that can be used to guide the information of the OC Runtime declaration. To be blunt, you can export the. h file. The class-dump can be used to guide the unencrypted app's header file. Don't say much nonsense. Class-dump is.
Http://stevenygard.com/download/class-dump-3.5.tar.gz
Click to download after the decompression will have class-dump and source files. Copy Class-dump to/usr/bin/class-dump. Open terminal at the same time, execute:
sudo chmod 777/usr/bin/class-dump, giving it permission to execute.
Successful execution means that you have installed it. Below we will demonstrate how to use it, hey!
Step1: Create a new test project, as shown, and create a new test class Testclassdump
Step2: In the real machine build, and then the catalog products under the creation of the app package:
Step3: Click on the show in Finder, copy the Testclassdump to the desktop (mainly for convenience, of course you can not copy to the desktop), open TERMINAL,CD to the desktop, and then enter
Class-dump-h Testclassdump.app-o Test
:
STEP4: Open the Test folder and you will find a good long file (laughter):
In fact, Class-dump is quite simple, I wish you a pleasant study.
Tip:class-dump does not export all declarative methods, such as declarations only, non-implemented methods.
Class-dump can not directly export the AppStore app header file, you will only export CDStructures.h this header file, and there is basically no information on the side. The equivalent of Apple adding a shell to the app, and the blog behind it says how to open the shell.