Latest 1.0.3
Homepage https://github.com/AllisonWangJiaoJiao/YFAdditions
License MIT
Platforms ios 8.0, requires ARC
Authors

用法很简单,即拿即用.

例: UIButton用法

    UIButton *btn = [UIButton cz_textButton:@"测试" fontSize:16 normalColor:
     [UIColor redColor] highlightedColor: [UIColor yellowColor]];
    btn.frame = CGRectMake(10, 100, 100, 50);
    [self.view addSubview:btn];

例:UILabel/UIScreen

    UILabel *lab = [UILabel cz_labelWithText:@"啦啦" fontSize:20 
    color:[UIColor redColor] ];
    lab.frame = CGRectMake(10, 200, [UIScreen cz_screenWidth], 50);
    [self.view addSubview:lab];

例:UIColor

 self.view.backgroundColor = [UIColor cz_randomColor]; 

Latest podspec

{
    "name": "YFAdditions",
    "version": "1.0.3",
    "summary": "YFAdditionsu6846u67b6",
    "homepage": "https://github.com/AllisonWangJiaoJiao/YFAdditions",
    "license": "MIT",
    "authors": {
        "AllisonWangJiaoJiao": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/AllisonWangJiaoJiao/YFAdditions.git",
        "tag": "1.0.3"
    },
    "source_files": [
        "YFAdditions",
        "Additions/**/*.{h,m}"
    ],
    "requires_arc": true
}

Pin It on Pinterest

Share This