I’ve mentioned a number of libraries for working with colors such as the Chameleon library providing a number of helpers for working with flat UI colors.
Here’s an open source library providing a wide selection of great looking gradients called UIColor-uiGradients from Kai Inui.
UIColor-uiGradients provides a wide assortment of colors from uiGradients which you can use with CAGradientLayer to create great looking gradients like in this source code example from the readme:
UIColor *endColor = [UIColor uig_emeraldWaterEndColor];
CAGradientLayer *gradient = [CAGradientLayer layer];
gradient.frame = view.bounds;
gradient.startPoint = CGPointMake(0, 0);
gradient.endPoint = CGPointMake(view.frame.size.width, 0);
gradient.colors = @[(id)[startColor CGColor], (id)[endColor CGColor], nil];
[view.layer insertSublayer:gradient atIndex:0];
You can find UIColor-uiGradients on Github here.
You can find examples for the available colors over on UIGradients.com
A nice collection of colors for creating great looking gradients.
Submit A Resource
Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?
You can submit the url here.
The resources we feel will appeal to our readers the most will be posted on the front page.