Latest 0.1.7
Homepage https://github.com/orron/ConfettiView
License MIT
Platforms ios 8.1
Authors

ConfettiView

Version
License
Swift 3.0
Platform

Confetti View lets you create a magnificent confetti view in your app. This was inspired by House Party app’s login screen. Written in Swift 3 :)

ConfettiView

It reacts to the phone accelerometer therefore it’s better to run the example project on the device.

Usage

With Interface Builder

ConfettiView

Simply pick a view and change it’s type to ConfettiView.

Programaticlly

ConfettiView is a subclass of UIView

let confettiView = ConffetiView()
self.view.addSubView(confettiView)

Controls

Start or stop the animation:

confettiView.stopAnimating()
confettiView.startAnimating()

Check whether the animation is active:

confettiView.isAnimating

By default the animation starts when the view is initialized

Installation

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

pod "ConfettiView"

Author

Or Ron, [email protected]

@or_ron

License

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

Latest podspec

{
    "name": "ConfettiView",
    "version": "0.1.7",
    "summary": "Add a magnificent Confetti to any view in your app",
    "description": "This pod allows you to add Confetti to any view youd like in a very clean and easy way. It was inspired by HouseParty app",
    "homepage": "https://github.com/orron/ConfettiView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Or Ron": "[email protected]"
    },
    "source": {
        "git": "https://github.com/orron/ConfettiView.git",
        "tag": "0.1.7"
    },
    "social_media_url": "https://twitter.com/or_ron",
    "platforms": {
        "ios": "8.1"
    },
    "source_files": "ConfettiView/Classes/**/*"
}

Pin It on Pinterest

Share This