A color extension library for Swift.*
*It has Photoshop style color blending!
// Example of hex initializer
letsun=UIColor(hex:"#FBF002")
// Example of RGB 0-255 initializer
letpink=UIColor(r:241, g:139, b:185)letcontainer=UIView(frame:CGRectMake(0,0,888,250))
container.backgroundColor = pink
letlabel=UILabel(frame: container.frame)
label.text ="Sweet"
label.textColor = sun
// Example of overlay similar to Photoshop with reduced alpha
// This allows us to get a more natural ambient shadow
label.layer.shadowColor = pink.overlayBlack.withAlpha(0.6).CGColorEach method is documented using headerdocs. An overview can be found here: jathu.me/sweetercolor
The license is provided in the project folder.
The logo and name is based off of Sweeterman by Ramriddlz. The original logo is based on the Chiquita logo.
August 2015 - Toronto

