by tapthaker

tapthaker / DebugView

A simple way to debug your view hierarchy

435 Stars 34 Forks Last release: Not found MIT License 22 Commits 1 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:


Debug View is a simple implementation of method swizzling to add red borders over each view for Debugging.

Installation ¯_(ツ)_/¯


pod 'DebugView', '~> 0.0'

From Source

Download the project and copy the file in "Source" directory into your project

Usage (•ิ_•ิ)?

Nothing to do here, things will work automatically. YAY \(^ ^)/

When you want to stop debugging, write the following in your prefix.pch



Note: The examples are generated by randomly creating UIViews

Screenshot 1

Screenshot 2

Or you could try code injection

PS : Updated my iPhone to iOS 8, so you will have to wait for updated screenshots after code injection

Game center after code injection


Follow me on Twitter (@tapthaker)

Problems ? (✖╭╮✖)

  • Add a new issue on github.
  • Add a question on stackoverflow and mention me in a tweet with the link.

To improve

  • More debug additions.
  • Someway to filter and display only a part of the full info.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.