CocoaPods trunk is moving to be read-only. Read more on the blog, there are 18 months to go.

Ripple 3.0

Ripple 3.0

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Oct 2016
SPMSupports SPM

Maintained by Hyper Interaktiv AS.



Ripple 3.0

Ripple



Ripple is a small convenience to create ripples in your app. With just a line of code, you can do beautiful things.

Code

There are two types of ripples, the one times ones, or the repeated ones:

Ripple

Droplets

By just setting the center and the view the droplet should be added to, you are going to have a droplet effect.

droplet(center: CGPoint, view: UIView)

Ripples

There are many ways to customize the ripple effect, the simplest one of all is just calling the following lines, which will repeat infinite times.

ripple(center: CGPoint, view: UIView)

There is, in both cases some configuration you can find, read the documentation for more information. :) Here’s the gif of the demo for you to have an idea of what Ripple is:

Ripple

Installation

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

pod 'Ripple'

Ripple is also available through Carthage. To install just write into your Cartfile:

github 'RamonGilabert/Ripple'

Author

Ramon Gilabert with ♥️

Contribute

I would love you to contribute to Ripple, check the CONTRIBUTING file for more information.

License

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