Skip to content

UIView subclass which draws a highly configurable color gradient as background.

License

Notifications You must be signed in to change notification settings

hohl/MIHGradientView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

UIView subclass which draws a highly configurable color gradient as background.

Resources

License

Stars

Watchers

Forks

Packages

No packages published