Latest 1.0.6
Homepage https://github.com/Ge3kX/XBaseUtils
License MIT
Platforms ios 9.0
Dependencies DeviceGuru, Kingfisher, CommonCryptoModule
Frameworks UIKit, Foundation
Authors

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.

Latest podspec

{
    "name": "XBaseUtils",
    "version": "1.0.6",
    "summary": "A short description of BaseUtils.",
    "description": "TODO: Add long description of the pod here.",
    "homepage": "https://github.com/Ge3kX/XBaseUtils",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Ge3kX": "[email protected]"
    },
    "source": {
        "git": "https://github.com/Ge3kX/XBaseUtils.git",
        "tag": "1.0.6"
    },
    "platforms": {
        "ios": "9.0"
    },
    "swift_version": "4.1",
    "source_files": "XBaseUtils/Classes/**/*",
    "frameworks": [
        "UIKit",
        "Foundation"
    ],
    "dependencies": {
        "DeviceGuru": [],
        "Kingfisher": [],
        "CommonCryptoModule": [
            "~> 1.0.2"
        ]
    }
}

Pin It on Pinterest

Share This