To run the example project, clone the repo, and run pod install
from the Example directory first.
In Interface Builder, select wave view, and in attributes inspector set values:
import CLWaterWaveView
let waveView = CLWaterWaveView()
// configure the wave
waveView.amplitude = 39.0
waveView.speed = 0.009
waveView.angularVelocity = 0.37
waveView.depth = 0.37
waveView.startAnimation()
// to stop animation
waveView.stopAnimation()
CLWaterWaveView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'CLWaterWaveView'
Cristian Lupu, lupucristiancptc@gmail.com
CLWaterWaveView is available under the MIT license. See the LICENSE file for more info.