Latest | 0.0.2 |
---|---|
Homepage | https://github.com/thegreatloser/DebugView |
License | MIT |
Platforms | ios 5.0, requires ARC |
Frameworks | UIKit |
Authors |
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
Or you could try code injection
PS : Updated my iPhone to iOS 8, so you will have to wait for updated screenshots
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.
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": "https://github.com/thegreatloser/DebugView", "screenshots": [ "https://raw.githubusercontent.com/thegreatloser/DebugView/master/screenshot1.png", "https://raw.githubusercontent.com/thegreatloser/DebugView/master/screenshot2.png" ], "license": { "type": "MIT", "file": "LICENSE.txt" }, "authors": { "Tapan Thaker": "[email protected]" }, "social_media_url": "http://twitter.com/tapthaker", "platforms": { "ios": "5.0" }, "source": { "git": "https://github.com/thegreatloser/DebugView.git", "tag": "0.0.2" }, "source_files": "Source", "frameworks": "UIKit", "requires_arc": true }
Sat, 27 Feb 2016 16:36:03 +0000