For iOS development, the UI is a very, very important link. When debugging, we usually use the simulator, before submitting the test with the real machine. Using the simulator to debug UI effects is quick and easy, but sometimes you still want more powerful tools to help you analyze the UI, especially when you focus on the effects of the UI. Recently saw reveal this tool, found that really is very powerful, similar to the Firebug on Firefox, the UI layer on the display is very clear and intuitive, can be very convenient for UI debugging, to learn the use of the UI is also a weapon.
The tool has now been released to the official version, the need to spend money to buy, fortunately, there is a 30-day trial version number can be downloaded to taste fresh. (http://revealapp.com), it is said that there was a free beta version number, which is greatly assumed to have the words please share to me, thank you.
Installation of reveal is not complicated, it is necessary to incorporate the framework or dylib into project reveal.
1. Open Xcodeproject
2. Open the Revel tool and select the Menu->help->show Reveal library in Finder, which will open the libraries in the Revealapp
3. Add Reveal.framework to Project and select Copy items into destination group ' s folder (if needed)in the popup box.
4. In project settings, add-objc-framework Reveal in the other Linker flags item
If you are using a Xcode4, you also need to add-frame cfnetwork-frame quartzcore-framework coregraphics
5. Execute your application, the application can be in the simulator, but also on the real machine, just must ensure that reveal and your device in the same network, and then select the reveal inside the link target, even after the application UI will be displayed, each level, each element can be displayed, And can select to see the data.
What I do here is to link the reveal as a static library to the application, and also to load as a dynamic library, of course, the settings are slightly different and need to add the loaded and removed code in the APPDELEGATE.M file.
The most powerful is that someone has studied the use of reveal to see the casual app UI method, and is not complex, this belongs to the category of reverse project, in the UI learning is still good (http://c.blog.sina.com.cn/profile.php? BLOGID=CB8A22EA89000GTW).
iOS Development UI Debugging artifact----Reveal