Reveal UI Analysis tool simple to use

Source: Internet
Author: User

Official website (30-day free trial): http://revealapp.com/

Role:

In IOS development, we sometimes would like to have a UI Debug tool like Web development (for example: Firebug) that allows us to see the structure of the UI in real time and to change the value of the relevant property values of a UIView's location and size in real time. Here we find that there really is such a powerful tool exists, he is Reveal. (Although the Xcode version now has the "capture View hierarchy" feature, the supported features are just the underlying view UI structure, which is a lot less than Reveal).

Here is an introduction to the simple use of the Reveal UI analysis tool, and the use of his analysis of mobile apps can be viewed in the following articles:

Reveal UI analysis tool analyzes mobile APP

Steps to use:

(1) After installing the Reveal, we use Xcode to create a project called "revealtest"

(2) Add "reveal.framework" for "revealtest" project; Open the Help menu for the Reveal tool to find the path to the "reveal.framework", and then drag him directly to our project, and a dialog box pops up. Remember to tick "copy items if needed"

(3) for the "revealtest" project "build settings" under the "other Linker flags" add "any iOS Simulator sdk", the corresponding value is "-objc"

(4) At this time to run the project, error, error content as follows, we need to introduce "libz.dylib" library, and then re-run the project

Undefined Symbols for Architecture x86_64:

"_deflate", referenced from:

-[ibahttpjsonresponse initwithjsonstring:compress:] in Reveal (IBAHTTPJSONRESPONSE.O)

"_deflateend", referenced from:

-[ibahttpjsonresponse initwithjsonstring:compress:] in Reveal (IBAHTTPJSONRESPONSE.O)

"_deflateinit2_", referenced from:

-[ibahttpjsonresponse initwithjsonstring:compress:] in Reveal (IBAHTTPJSONRESPONSE.O)



(5) The project runs successfully, prompting "reveal Server started (Protocol Version 18)." Then you can open the Reveal tool and play.

(6) Open the Reveal tool, select our "revealtest" project in the upper left corner, and then you can view the structure of the in-project UI. More powerful features, please read more network information, slowly groping

Original address: http://www.cnblogs.com/huangjianwu/p/4713730.html

Category: OS X (tool use)

Reveal UI Analysis tool simple to use

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.