/Bubble

Inspired by Fruit Animation

Primary LanguageSwiftMIT LicenseMIT

Bubble

CI Status Version License Platform

Example

Demo 1 Demo 2 Demo 3

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

XCode 9.0, Swift 4.0

Installation

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

pod "Bubble"

Usage

Default

Bubble.showLogo()
Bubble.hideLogo()

Custom

// Set color of the mask view
Bubble.maskColor = UIColor.black

// Show logo with scale mode and touchable setting
Bubble.showLogo(with: .scaleAspectFill, touchable: false)

Author

goldmoment, nguyenvanvienqn@gmail.com

License

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