LBCommonComponents
项目中使用的一些UI宏定义(如界面安全区域)、功能宏(如 weak)、系统宏(如系统版本)以及 MethodSwizzling、类型安全、NSArray 超界检查防止崩溃、字典插入 checked 防止崩溃、获取最顶层 ViewController、UIButton 的 blockHandle、格式化图片颜色(减少项目大小)、UIView 深度拷贝、时间转换工具、获取 UIView 布局属性、UINavigationBar 一键设置外观(如透明、去除下划线、更改字体颜色等)。#导入
pod 'LBCommonComponents'
#例如导航栏一键设置外观用法
[self setNavigationBarAppearanceStyle:LBNavigationBarTransparent tintColor:[UIColor whiteColor]];