XBaseUtils 1.0.6

XBaseUtils 1.0.6

Maintained by ge3kxm.



 
Depends on:
DeviceGuru>= 0
Kingfisher>= 0
CommonCryptoModule~> 1.0.2
 

  • By
  • Ge3kX

XBaseUtils

CI Status Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

XBaseUtils is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'XBaseUtils'

说明

Foundation:

  • Array+Extension:数组扩展、去重、是否包含元素

  • Color+Extension:颜色扩展、十六进制、RGB等

  • Date+Extension:日期扩展、年月日、字符串互转

  • Dictionary+Extension:字典扩展、jSON互转、是否有Key等

  • String+Extension:字符串扩展,截子串,替换、分割等

Tools:

  • AuthorizationTool:系统权限获取工具

  • CommonConst:宏

  • DeviceTool:获取设备信息

  • LoadTool:load方法实现工具

  • RegularTool:正则检测工具

UIKit:

  • UIAlertController+Extension:AlertVC扩展,便利构造方法

  • UIBarButtonItem+Extension:BarButton扩展,便利构造方法

  • UIButton+Extension:Button扩展,扩大点击区域

  • UIImage+Extension:Image扩展,颜色生成图片、压缩等

  • UIImageView+Extension:ImageView扩展,图片根据url加载

  • UILabel+Extension:label扩展,复制相关

  • UIVIew+Extension:View扩展,frame、背景色等

Author

[email protected]

License

BaseUI is available under the MIT license. See the LICENSE file for more info.