Latest 0.1.0
Homepage https://github.com/vladaccess/Gentler
License MIT
Platforms ios 8.0, requires ARC
Frameworks UIKit
Authors

Animation of gradient

Version
License
Platform

Example

override func viewDidLoad() {
  super.viewDidLoad()
  setUpLbl()
  let gentler = GentlerView()
  gentler.frame = view.bounds
  gentler.animationDuration = 3
  gentler.startGentlePoint = .top
  gentler.endGentlePoint = .bottom
  gentler.setColors([UIColor(red: 156/255, green: 39/255, blue: 176/255, alpha: 1.0),
                   UIColor(red: 255/255, green: 64/255, blue: 129/255, alpha: 1.0),
                   UIColor(red: 123/255, green: 31/255, blue: 162/255, alpha: 1.0),
                   UIColor(red: 32/255, green: 76/255, blue: 255/255, alpha: 1.0),
                   UIColor(red: 32/255, green: 158/255, blue: 255/255, alpha: 1.0),
                   UIColor(red: 90/255, green: 120/255, blue: 127/255, alpha: 1.0),
                   UIColor(red: 58/255, green: 255/255, blue: 217/255, alpha: 1.0)])
  gentler.startAnimate()
  self.view.insertSubview(gentler, at: 0)
}

Requirements

Written in Swift 4. iOS 8.0+ Required

Installation

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

pod 'Gentler'

Author

vladaccess, [email protected]

License

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

Latest podspec

{
    "name": "Gentler",
    "version": "0.1.0",
    "summary": "Gradient animation",
    "description": "Gentler allow you fast customize gradient colors",
    "homepage": "https://github.com/vladaccess/Gentler",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "vladaccess": "[email protected]"
    },
    "source": {
        "git": "https://github.com/vladaccess/Gentler.git",
        "tag": "0.1.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "Source/**/*.{swift}",
    "frameworks": "UIKit",
    "swift_version": "4.0",
    "requires_arc": true
}

Pin It on Pinterest

Share This