iOS Development UI Debugging artifact----Reveal

Source: Internet
Author: User

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. While it's quick and easy to debug a UI effect with a simulator, there are times when you still want more powerful tools to help analyze the UI, especially when it comes to debugging 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 clear and intuitive, can be easily used for UI debugging, to learn the use of the UI is also a weapon.

This tool is now available in the official version, it costs money to buy, fortunately there is a 30-day trial version can be downloaded to taste fresh. (http://revealapp.com), it is said that there was a free beta version, which is greatly if any, please share it to me, thank you.

Installation of reveal is not complicated, to use the reveal to the project you need to incorporate the framework or dylib.

1. Open Xcode Project

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 the project and select Copy items into destination group ' s folder (if needed)in the popup box.


4. In the project setup, add-objc-framework Reveal to the other Linker flags item

If you are using a Xcode4, you also need to add-frame cfnetwork-frame quartzcore-framework coregraphics

5. Run your application, the application can be in the simulator, but also on the real machine, but 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 you can check to see the data.


What I do here is to link the reveal as a static library to the application, or as a dynamic library, and, of course, the settings are slightly different and need to be added to the APPDELEGATE.M file to load and remove the code.

The most powerful is that someone has studied the use of reveal to see any app UI method, but also not complex, this belongs to reverse engineering category, in the UI learning is still good (http://c.blog.sina.com.cn/profile.php? BLOGID=CB8A22EA89000GTW).

iOS Development UI Debugging artifact----Reveal

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.