TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Dec 2015 |
Maintained by Candyan.
Depends on: | |
Masonry | >= 0 |
KVOController | >= 0 |
YAUIKit is a UIKit extension library,
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>
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