Latest 3.0.5
Homepage https://github.com/candyan/YAUIKit
License MIT
Platforms ios 6.0, requires ARC
Dependencies Masonry, KVOController
Authors

YAUIKit is a UIKit extension library,

Usage

Install

Use cocoapods-depend plugin:

pod depend add YAUIKit

Or, add the dependency to your Podfile:

pod 'YAUIKit'

Next, import the header file wherever your want to use it.

#import <YAUIKit/YAUIKit.h>

Feature

UIColor Extension

color with hex number

[UIColor colorWithHex:0x8031CCA]; // ARGB
[UIColor colorWithHex:0x31CCAA];  // RGB

color mixing

UIColor *redColor = [UIColor redColor];
UIColor *maskColor = [UIColor colorWithHex:0x80000000];
UIColor *mixingColor = [redColor colorByAddingColor:maskColor]; // red color with a 50% opacity black mask

Latest podspec

{
    "name": "YAUIKit",
    "version": "3.0.5",
    "summary": "YAUIKit",
    "homepage": "https://github.com/candyan/YAUIKit",
    "license": "MIT",
    "authors": {
        "Candyan": "[email protected]"
    },
    "platforms": {
        "ios": "6.0"
    },
    "requires_arc": true,
    "source": {
        "git": "https://github.com/candyan/YAUIKit.git",
        "tag": "3.0.5"
    },
    "source_files": "Source/**/*.{c,h,m}",
    "dependencies": {
        "Masonry": [],
        "KVOController": []
    }
}

Pin It on Pinterest

Share This