Latest 0.0.1
Homepage https://github.com/Jasonvvei/WaterWaveView
License MIT
Platforms ios 7.0, requires ARC
Authors

WaterWaveView

水波纹的动画效果 . a water wave view.

ScreenShot

VVWaterWaveViewDemo

CocoaPods

platform :ios, '7.0'
pod 'VVWaterWaveView'

Usage

1.creat a VVWaterWaveView instance, you can drag a view to your Storyboard and set the view’s custom class to VVWaterWaveView.

2.set properties


self.waterWaveView.percent = 0.5; // 百分比
self.waterWaveView.amplitude = 8.0; // 幅度
self.waterWaveView.waveLayerColorArray = @[
                                           [UIColor colorWithRed:131/255.0 green:169/255.0 blue:235/255.0 alpha:0.5],
                                           [UIColor colorWithRed:131/255.0 green:169/255.0 blue:235/255.0 alpha:1.0]
                                          ];

3.start animation

[self.waterWaveView startWave];

Latest podspec

{
    "name": "VVWaterWaveView",
    "version": "0.0.1",
    "summary": "VVPopMenuView is a water wave view",
    "homepage": "https://github.com/Jasonvvei/WaterWaveView",
    "license": "MIT",
    "authors": {
        "Jasonvvei": "https://github.com/Jasonvvei"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/Jasonvvei/WaterWaveView.git",
        "tag": "0.0.1"
    },
    "source_files": "VVWaterWaveView/*.{h,m}",
    "requires_arc": true
}

Pin It on Pinterest

Share This