iOS 视图布局:ColorDebugView

dc4g 9年前

ColorDebugView 是一个简单的 NS/UIView,它可以在粗加工布局/动画时,快速获取屏幕上的视图。

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)

iOS 视图布局:ColorDebugView

项目主页:http://www.open-open.com/lib/view/home/1439888854145