Skip to content

maheenkhalid/MKGradients

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MKGradients

[![CI Status](http://img.shields.io/travis/Maheen Khalid/MKGradients.svg?style=flat)](https://travis-ci.org/Maheen Khalid/MKGradients) Version License Platform

Usage

import MKGradients

MKGradient.addGradientLayerAlongXAxis(self.view, colors: [UIColor.redColor().CGColor, UIColor.greenColor().CGColor])
MKGradient.addGradientLayerAlongYAxis(self.view, colors: [UIColor.redColor().CGColor, UIColor.greenColor().CGColor])

Installation

MKGradients is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "MKGradients"

Author

Maheen Khalid, [email protected]

License

MKGradients is available under the MIT license. See the LICENSE file for more info.

About

Add different gradients on UIView.

Resources

License

Stars

Watchers

Forks

Packages

No packages published