https://github.com/cristi-lupu/CLWaterWaveView
A UIView what able to show water wave effect
https://github.com/cristi-lupu/CLWaterWaveView
interface-builder ios swift ui uicomponent uiview view water waterwave wave
Last synced: 5 months ago
JSON representation
A UIView what able to show water wave effect
- Host: GitHub
- URL: https://github.com/cristi-lupu/CLWaterWaveView
- Owner: cristi-lupu
- License: mit
- Created: 2018-02-04T11:32:10.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-05-13T20:29:14.000Z (almost 5 years ago)
- Last Synced: 2024-10-31T15:47:48.751Z (6 months ago)
- Topics: interface-builder, ios, swift, ui, uicomponent, uiview, view, water, waterwave, wave
- Language: Swift
- Size: 17.1 MB
- Stars: 56
- Watchers: 1
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-cocoa - CLWaterWaveView
README
CLWaterWaveView
![]()
## Features

* **Simple configuration**
* **Live editing**## Example
To run the example project, clone the repo, and run **`pod install`** from the Example directory first.

## Usage
#### Interface Builder
In Interface Builder, select wave view, and in attributes inspector set values:
#### Code
```swift
import CLWaterWaveViewlet waveView = CLWaterWaveView()
// configure the wave
waveView.amplitude = 39.0
waveView.speed = 0.009
waveView.angularVelocity = 0.37
waveView.depth = 0.37waveView.startAnimation()
// to stop animation
waveView.stopAnimation()
```## Installation
CLWaterWaveView is available through **[CocoaPods](http://cocoapods.org)**. To install
it, simply add the following line to your Podfile:```ruby
pod 'CLWaterWaveView'
```## Author
**Cristian Lupu, lupucristiancptc@gmail.com**
## License
**CLWaterWaveView** is available under the **MIT license**. See the **[LICENSE](https://github.com/cristiLupu/CLWaterWaveView/blob/master/LICENSE)** file for more info.