Latest 1.1.1
Homepage https://github.com/CaiChenghan/Addition
License MIT
Platforms ios 8.0, requires ARC
Authors

CI Status
Version
License
Platform

Usage

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

Requirements

Installation

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

pod 'Addition', '~>1.1.1'

Author

蔡成汉, [email protected]

License

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

更新说明

  • 1.1.1 UIImage图片裁剪内存泄漏问题修复。
  • 1.1.0 UIImage颜色绘制图片,增加尺寸控制。
  • 1.0.0 UIImage图片模糊方法采用异步处理,同时增加尺寸参数,减少磨砂时间消耗。
  • 0.2.9 NSDate时间戳转标准时间方法补充。
  • 0.2.8 图片裁剪优化。
  • 0.2.7 增加UIImage扩展,用于图片圆角裁剪。
  • 0.2.6 增加UIFont扩展,用于字体安全赋值。
  • 0.2.5 增加Addition.h文件,方便多个扩展同时引用。
  • 0.2.4 Addition扩展类集采用分层的Subspecs管理,各个分类的使用,需单独引入。
  • 0.2.3 UIImage视图转图片对scrollView的支持,可截取整个scrollView页面。
  • 0.2.2 UIImage增加视图转图片和图片裁剪方法;移除屏幕截取方法。
  • 0.2.1 NSDictionary安全取值取不到时返回指定类型空数据,例如空字符串、空数组等,
  • 0.2.0 iOS最低支持从8.0开始;UIView增加单击扩展;代码整理。
  • 0.1.5 新增Base64加密解密方法。
  • 0.1.4 修复NSDate的md5方法,原方法md5失败。
  • 0.1.3 新增NSDate取时间间隔+(void)getSepTimeWithDay…方法。
  • 0.1.2 新增NSString的encode和decode方法。
  • 0.1.1 新增NSDate扩展,方便时间获取。
  • 0.1.0 修复0.0.9字典取值类型错误问题。
  • 0.0.9 修复0.0.8字典安全赋值书写错误。

Latest podspec

{
    "name": "Addition",
    "version": "1.1.1",
    "summary": "iosu6269u5c55u7c7bu96c6",
    "description": "iosu6269u5c55u7c7bu96c6uff0cu65b9u4fbfiosu5f00u53d1u3002",
    "homepage": "https://github.com/CaiChenghan/Addition",
    "license": "MIT",
    "authors": {
        "u8521u6210u6c49": "[email protected]"
    },
    "source": {
        "git": "https://github.com/CaiChenghan/Addition.git",
        "tag": "1.1.1"
    },
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "Addition/Addition.h",
    "subspecs": [
        {
            "name": "NSData",
            "source_files": "Addition/NSData+Addition.{h,m}"
        },
        {
            "name": "NSDictionary",
            "source_files": "Addition/NSDictionary+Addition.{h,m}"
        },
        {
            "name": "NSDictionary",
            "source_files": "Addition/NSDictionary+Addition.{h,m}"
        },
        {
            "name": "NSMutableDictionary",
            "source_files": "Addition/NSMutableDictionary+Addition.{h,m}"
        },
        {
            "name": "NSArray",
            "source_files": "Addition/NSArray+Addition.{h,m}"
        },
        {
            "name": "NSDate",
            "source_files": "Addition/NSDate+Addition.{h,m}"
        },
        {
            "name": "NSString",
            "source_files": "Addition/NSString+Addition.{h,m}",
            "dependencies": {
                "Addition/NSData": []
            }
        },
        {
            "name": "NSObject",
            "source_files": "Addition/NSObject+Addition.{h,m}",
            "dependencies": {
                "Addition/NSString": []
            }
        },
        {
            "name": "UIColor",
            "source_files": "Addition/UIColor+Addition.{h,m}"
        },
        {
            "name": "UIImage",
            "source_files": "Addition/UIImage+Addition.{h,m}"
        },
        {
            "name": "UIView",
            "source_files": "Addition/UIView+Addition.{h,m}"
        },
        {
            "name": "UIFont",
            "source_files": "Addition/UIFont+Addition.{h,m}"
        }
    ]
}

Pin It on Pinterest

Share This