UIView subclass which draws a highly configurable color gradient as background.
Objective-C Ruby
Switch branches/tags
Nothing to show
Latest commit 564d3b3 Feb 26, 2013 @hohl Fixed a typo in the README.md
Permalink
Failed to load latest commit information.
Classes First Version Feb 25, 2013
Project First Version Feb 25, 2013
.gitignore Initial commit Feb 25, 2013
LICENSE First Version Feb 25, 2013
MIHGradientView.podspec First Version Feb 25, 2013
README.md Fixed a typo in the README.md Feb 26, 2013

README.md

MIHGradientView

UIView subclass which draws an axial color gradient as background. You can customize the gradient with the properties startPoint, startColor, endPoint and endColor.

How To Get Started

You either can drag & drop the MIHGradientView.h and MIHGradientView.m into your project or use CocoaPods to add the dependency. If you choose the drag & drop solution you have to link your application against the QuartzCore.framework.

For details on how to use the MIHGradientView have a look at the interface deceleration and read the comments.

What It Can Look In Production Use

The following image shows an iOS application where MIHGradientView is used to create the background gradient.

Attention: The following image is from closed source project which uses the MIHGradientView component and the images and source codes of this project are not contained by the MIHGradientView project and license!

Screenshot of MIHGradientView in production use