The Missing View Hierarchy Debugger
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Detective.xcodeproj
Detective
DetectiveTest
Tools
.gitignore
HierarchyDetective.podspec
LICENSE
README.md

README.md

Hierarchy Detective

  1. Visit Hierarchy Detective for an overview of how to use the application and library in your own projects
  2. Download the latest release
  3. Once you have the Mac application, explore a few sample traces yourself.
  4. This repository contains the source for the library that needs to be linked into the application. The code for the client application will be released very soon.

Quartz Core Nav Bar Emoji

Getting Started

The easiest way to get started is to link the precompiled static library with your application. Once the application launches, the server starts up automatically and logs its status to the console. At this point, the device name should also show up in the list of servers in the desktop viewer.

The repository currently contains support for inspecting UIKit, Quartz and Cocos2D (versions 1 and 2) hierarchies. Two universal (i.e, can be used on both the simulator and actual devices) libraries are currently distributed. libDetectiveUniversal.a contains support for UIKit and Quartz. libDetectiveCocos2DUniversal.a adds support for Cocos2D.

Troubleshooting

Check out the wiki for a troubleshooting guide.

Contributing

The static library will always remain open source and all contributions are welcome.

Since Cocos2D is an open source project, modifications to the project by end users makes it difficult to guarantee that the viewer works are expected. If there are any issues, you can report them using the issue tracker, or, better yet, submit pull requests with fixes.

Also, it is extremely easy to add support for other view hierarchies. There is a lot if information in the wiki that details how you can go about doing just that. If you have added support for any other freely available view hierarchies, I would love to hear about it.

License

The Hierarchy Detective iOS library is released under the MIT License.