Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/goldmoment/Bubble
Inspired by Fruit Animation
https://github.com/goldmoment/Bubble
Last synced: 7 days ago
JSON representation
Inspired by Fruit Animation
- Host: GitHub
- URL: https://github.com/goldmoment/Bubble
- Owner: goldmoment
- License: mit
- Created: 2017-07-01T04:03:42.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-07-01T10:37:30.000Z (over 7 years ago)
- Last Synced: 2024-04-24T14:47:29.189Z (8 months ago)
- Language: Swift
- Homepage: https://codepen.io/koban/pen/Nqmmya
- Size: 21.5 KB
- Stars: 221
- Watchers: 7
- Forks: 16
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-ios - Bubble - Fruit Animation. (UI / Animation)
- awesome-ios-star - Bubble - Fruit Animation. (UI / Animation)
README
# Bubble
[![CI Status](http://img.shields.io/travis/goldmoment/Bubble.svg?style=flat)](https://travis-ci.org/goldmoment/Bubble)
[![Version](https://img.shields.io/cocoapods/v/Bubble.svg?style=flat)](http://cocoapods.org/pods/Bubble)
[![License](https://img.shields.io/cocoapods/l/Bubble.svg?style=flat)](http://cocoapods.org/pods/Bubble)
[![Platform](https://img.shields.io/cocoapods/p/Bubble.svg?style=flat)](http://cocoapods.org/pods/Bubble)## Example
[![Demo 1](https://media.giphy.com/media/AMPOAkTWG9rA4/giphy.gif)](https://media.giphy.com/media/AMPOAkTWG9rA4/source.mp4)
[![Demo 2](https://media.giphy.com/media/Ydj5Vi19TF076/giphy.gif)](https://media.giphy.com/media/Ydj5Vi19TF076/source.mp4)
[![Demo 3](https://media.giphy.com/media/H0imirCsaJjoI/giphy.gif)](https://media.giphy.com/media/H0imirCsaJjoI/source.mp4)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](http://cocoapods.org). To install
it, simply add the following line to your Podfile:```ruby
pod "Bubble"
```## Usage
Default
```swift
Bubble.showLogo()
Bubble.hideLogo()
```Custom
```swift
// 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, [email protected]
## License
Bubble is available under the MIT license. See the LICENSE file for more info.