Latest 1.0.0
Homepage https://github.com/vigneshuvi/UIRippleWave
License MIT
Platforms ios 8.0, requires ARC
Authors

Language Swift 3
Objective-C compatible

UIView+Ripple+Wave is a lightweight framework that adds a waving effect to any UIView and written in Swift.

Screenshots

alt text

iOS import headers

First thing is to import the framework. See the Installation instructions on how to add the framework to your project.


//iOS - Objective-C
@import UIRippleWave;

//iOS - Swift
import UIRippleWave

Example

UIRippleWave can be used without any wrappers nor layout and touch handling, simply call the start wave function.

Example 1 – Objective-C


// Start waving.
    [self.uviView setEnableWaveEffect:YES];
    [self.uviButton startWaving];
    [self.uviImageView startWavingWithColorWithColor:[UIColor redColor] repeatCount:1];
    [self.uviImageView startWavingWithRepeatCountWithRepeatCount:1];

Example 2 – Swift


// Start waving.
self.uviView.startWaving();
self.uviButton.startWavingWithColor(color: UIColor.green, repeatCount: 1);
self.uviImageView.startWavingWithRepeatCount(repeatCount: Float.infinity);

Sample Projects

Sample Projects available under the /Examples folder.

Installation

CocoaPods

Check out Get Started tab on cocoapods.org.

To use UIRippleWave in your project add the following ‘Podfile’ to your project

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!

pod 'UIRippleWave'

Then run:

pod install || pod update

License

UIRippleWave is licensed under the MIT License.

Contact

Vignesh Kumar

Latest podspec

{
    "name": "UIRippleWave",
    "version": "1.0.0",
    "summary": "UIView+Ripple+Wave is a lightweight framework that adds a waving effect to any UIView and written in Swift.",
    "description": "UIRippleWave can be used without any wrappers nor layout and touch handling, simply call the start wave function.",
    "homepage": "https://github.com/vigneshuvi/UIRippleWave",
    "license": "MIT",
    "authors": {
        "Vignesh Kumar": "http://vigneshuvi.github.io/"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/vigneshuvi/UIRippleWave.git",
        "tag": "1.0.0"
    },
    "source_files": [
        "UIRippleWave",
        "UIRippleWave/**/*.{h,m,swift}"
    ],
    "requires_arc": true,
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This