宛如一場華麗的五彩碎紙雨,為你的應用增添異彩

jinbaobei 8年前發布 | 6K 次閱讀 iOS開發 移動開發

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

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

Usage

With Interface Builder

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.

 

 

 

 本文由用戶 jinbaobei 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!