Latest 0.0.2
License MIT
Platforms ios 5.0, requires ARC
Frameworks UIKit

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.

Latest podspec

    "name": "DebugView",
    "version": "0.0.2",
    "summary": "A simple way to debug your view hierarchy.",
    "description": "                    It adds borders to your views, shows their frame sizes and shows the class name that they belong to.n",
    "homepage": "",
    "screenshots": [
    "license": {
        "type": "MIT",
        "file": "LICENSE.txt"
    "authors": {
        "Tapan Thaker": "[email protected]"
    "social_media_url": "",
    "platforms": {
        "ios": "5.0"
    "source": {
        "git": "",
        "tag": "0.0.2"
    "source_files": "Source",
    "frameworks": "UIKit",
    "requires_arc": true

Pin It on Pinterest

Share This