Latest 1.4
Homepage https://github.com/bingozb/DKExtension
License MIT
Platforms ios 8.0, requires ARC
Authors

Dankal extension category for iOS.

Cocoapods 安装

pod 'DKExtension.h'

使用

  • 引入

    #import "DKExtension.h"
  • dk_为前缀调用分类方法

    
    // dk_xxxx
    label.textColor = [UIColor dk_randomColor];
    label.text = [NSDate dk_currentDateStrWithFormat:@"当前时间: yyyy-MM-dd HH:mm:ss"];
  • 提供 API文档,具体分类方法和属性请Review代码

Latest podspec

{
    "name": "DKExtension",
    "version": "1.4",
    "platforms": {
        "ios": "8.0"
    },
    "summary": "Dankal extension category for iOS.",
    "homepage": "https://github.com/bingozb/DKExtension",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "bingozb": "[email protected]"
    },
    "source": {
        "git": "https://github.com/bingozb/DKExtension.git",
        "tag": "v1.4"
    },
    "source_files": "DKExtension/*.{h,m}",
    "requires_arc": true
}

Pin It on Pinterest

Share This