Afterglow
Afterglow copied to clipboard
Make a awesome afterglow view
Afterglow
[](https://travis-ci.org/Vien Van Nguyen/Afterglow)
Example
To run the example project, clone the repo, and run pod install
from the Example directory first.
Requirements
Installation
Afterglow is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "Afterglow"
Usage
Create squareView in storyboard or code
squareView.addAfterglow()
Or more config
func addAfterglowWith(leaf: Int, line: Int, speed: Int, backgroundColor: UIColor, hue: Hue)
I use color that generated by https://github.com/onevcat/RandomColorSwift
Author
Vien Van Nguyen, [email protected]
fb/goldmoment
tw/goldmoment
License
Afterglow is available under the MIT license. See the LICENSE file for more info.