YAUIKit 3.0.5

YAUIKit 3.0.5

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2015

Maintained by Candyan.



 
Depends on:
Masonry>= 0
KVOController>= 0
 

YAUIKit 3.0.5

  • By
  • Candyan

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