Latest 0.2
Homepage https://github.com/kgn/KGNGradientView
License MIT
Platforms ios 8.0, requires ARC
Frameworks UIKit
Authors

KGNGradientView is a collection UIView subclasses for linear and radial gradients.

[iOS 8.0+]()
[Xcode 7.1]()
[Swift 2.0]()
Release
Build Status

Build Status
[Test Coverage]()
Carthage Compatible
CocoaPods Version
CocoaPods Platforms

Twitter
Star
Star

Installing

Carthage

github "kgn/KGNGradientView"

CocoaPods

pod 'KGNGradientView'

Examples

Gradient

Gradient is a struct that encapsulates the start and end colors of the gradient.

VerticalGradientView

A UIView subclass that creates a view with a linear gradient.

let view = VerticalGradientView()
view.gradient = Gradient(startColor: UIColor.redColor(), endColor: UIColor.blueColor())

RadialGradientView

A UIView subclass that creates a view with a radial gradient.

let view = RadialGradientView()
view.gradient = Gradient(startColor: UIColor.redColor(), endColor: UIColor.blueColor())

Progress

  • [X] Tests
  • [X] Travis
  • [X] Badges
  • [X] Carthage
  • [X] CocoaPods
  • [X] Description
  • [X] Documentation

Latest podspec

{
    "name": "KGNGradientView",
    "version": "0.2",
    "authors": {
        "David Keegan": "[email protected]"
    },
    "homepage": "https://github.com/kgn/KGNGradientView",
    "summary": "KGNGradientView is a collection UIView subclasses for linear and radial gradients.",
    "source": {
        "git": "https://github.com/kgn/KGNGradientView.git",
        "tag": "v0.2"
    },
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "frameworks": "UIKit",
    "source_files": "Source/{GradientView,RadialGradientView}.swift"
}

Pin It on Pinterest

Share This