FireworkView
FireworkView copied to clipboard
Inspired by anime-js.com
FireworkView
[](https://travis-ci.org/Vien V.Nguyen/FireworkView)
Example
To run the example project, clone the repo, and run pod install
from the Example directory first.
Requirements
Installation
FireworkView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "FireworkView"
Usage
let firework = FireworkView()
firework.translatesAutoresizingMaskIntoConstraints = false
self.view.addSubview(firework)
self.view.addConstraints(NSLayoutConstraint.constraintsWithVisualFormat(
"H:|-0-[firework]-0-|",
options: [], metrics: nil, views: ["firework" : firework]))
self.view.addConstraints(NSLayoutConstraint.constraintsWithVisualFormat(
"V:|-0-[firework]-0-|",
options: [], metrics: nil, views: ["firework" : firework]))
Author
Vien V.Nguyen, [email protected]
License
FireworkView is available under the MIT license. See the LICENSE file for more info.