iOS 視圖布局:ColorDebugView

dc4g 9年前發布 | 11K 次閱讀 iOS開發 移動開發 ColorDebugView

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.baiduhome.net/lib/view/home/1439888854145

 本文由用戶 dc4g 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!