JGSourceCode通用功能模块:iOS项目常用功能(UIAlertController、Reachability、Loading-HUD、Toast-HUD);自定义安全键盘。
功能包括:
- 常用宏定义、常用警告消除、SwizzledMethod的严谨实现
- 通用日志控制功能
- 字符串、URL常用方法
- Block循环引用常用定义weak、strong快捷处理
- NSDictionary便捷取指定类型值方法
- NSJSONSerialization便捷方法封装
- UIColor便捷方法封装
原项目:JGActionSheetAlert => https://github.com/dengni8023/JGActionSheetAlert.git
原项目:JGAlertController => https://github.com/dengni8023/JGAlertController.git
- UIAlertController便捷方法封装
原项目:JGNetworkReachability => https://github.com/dengni8023/JGNetworkReachability.git
- 网络状态获取、监听,支持多监听者
- 显示Loading HUD方法封装
- 显示Toast HUD方法封装
- 字母键盘支持单字母大小写切换、选中大写
- 符号键盘支持与数字混合展示,支持全角、半角字符
- 数字键盘支持随机/非随机
pod 'JGSourceBase'
pod 'JGSourceBase/Reachability'
pod 'JGSourceBase/HUD'
pod 'JGSourceBase/SecurityKeyboard'
pod 'JGSourceBase', :path => ".", :subspecs => ['HUD/LoadingHUD'] # 该方式父spec文件可能不会引入,不同Pod版本存在差异
pod 'JGSourceBase/HUD/LoadingHUD', :path => "." # 该方式父spec文件可能会引入,不同Pod版本存在差异