TBToolCategory
介绍
编辑 OC 相关项目常用的 Category 工具中包含了平时开发中常用的文件,这里整理了一份。
文件说明
文件名称 | 说明 |
---|---|
BMWPCategory.h | 外部引用文件 |
UIColor+Hex | 颜色 |
UILabel+WPAdd | 快速创建 label |
WPCommonDefine | 常规宏定义,如屏幕宽高、版本号、手机类型等 |
LMCheckObject | 检查 NSString、NSDictionary、NSArray 的有效性 |
UIView+BMWCoordinate | 布局控制器,frame 不再难用,或者说可以不用 autoLayout |
UIImage+BMWAdd | 各种变量转换 UIimage,特别是颜色 |
UIView+BMWDrawLine | 应用中涉及画线的部分 |
安装
TBToolCategory 通过 CocoaPods 提供。要安装它,只需在 Podfile 中添加以下行
pod 'TBToolCategory'
作者
https://github.com/Bintong/TBToolCategory.git, [email protected]
许可协议
TBToolCategory 以 MIT 许可证提供。更多信息请参阅 LICENSE 文件。