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)
本文由用户 dc4g 自行上传分享,仅供网友学习交流。所有权归原作者,若您的权利被侵害,请联系管理员。
转载本站原创文章,请注明出处,并保留原始链接、图片水印。
本站是一个以用户分享为主的开源技术平台,欢迎各类分享!