Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1.46 KB

README.md

File metadata and controls

44 lines (31 loc) · 1.46 KB

FireworkView

[![CI Status](http://img.shields.io/travis/Vien V.Nguyen/FireworkView.svg?style=flat)](https://travis-ci.org/Vien V.Nguyen/FireworkView) Version License Platform

Example

alt tag

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.