[iOS] ConfettiView:宛如一场华丽的五彩碎纸雨,为你的应用增添异彩

ConfettiView Confetti View lets you create a magnificent confetti view in your app This was in

[iOS] ConfettiView:宛如一场华丽的五彩碎纸雨,为你的应用增添异彩

ConfettiView

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 :)

[iOS] ConfettiView:宛如一场华丽的五彩碎纸雨,为你的应用增添异彩

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

Usage

With Interface Builder

[iOS] 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)

Installation

ConfettiView is available through CocoaPods

. To install it, simply add the following line to your Podfile:

pod "ConfettiView"

Author

Or Ron, or.ron10@gmail.com

License

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

未登录用户
全部评论0
到底啦