Skip to content

candyan/YAUIKit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YAUIKit

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

About

iOS UIKit Extend & Custom UI Library

Resources

Stars

Watchers

Forks

Packages

No packages published