ColorDebugView

MIT License
Swift
iOS

2 images

Author

Description

ColorDebugView is a simple NSView/UIView which lets you get something up on the screen quickly when roughing out layouts/animations. It displays a translucent rectangle or dot with directional crosshairs to debug layout issues.

Features:

  • Works for both OS X and iOS

  • Translucent by default to help debug issues with overlapping views

  • Crosshairs to help with alignment

  • The ‘Up’ direction is marked to debug issues with rotation/animation

  • Can be rectangular or circular

  • IBDesignable/Inspectable for direct use within Interface Builder

  • Choose a custom color (or just use a random one)

Tags