Skip to content
项目

关于

你一直缺少的视图层级调试器。

开发工具

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

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.

探索相关项目

加载中…