• Stars
    star
    423
  • Rank 102,544 (Top 3 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created about 10 years ago
  • Updated over 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A simple way to debug your view hierarchy

#DebugView

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

Installation ¯_(ツ)_/¯

CocoaPods

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

#define NO_DEBUG_VIEW

##Examples

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

Phone.app after code injection

Game center after code injection

Contact

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.