🌊 A UIView subclass to present visual feedback for audio input
There are currently three different types of waveViews you can choose from:
Create one of the Wave View (Wave, SimpleWave of Bars) and add it as a subview anywhere, customize it changing the colors and update it setting its
value property based on the audio input.
Drag a view into your scene and set its Class to be
WaveView and the Module to
OCWaveView. Then you can inspect the colors for each wave and the initial value.
Create an outlet and change its
value property according to the audio input to update the waves.
OCWaveView to the dependencies value of your
dependencies: [ .package(url: "https://github.com/emannuelOC/OCWaveView.git", .upToNextMajor(from: "0.2.1")) ]
Cocoapods is a dependency manager for Cocoa projects. You can install it with the following command:
$ gem install cocoapods
In order to integrate OCWaveView into your project, add it to your Podfile:
Then, run the following command:
$ pod install
A big thanks to:
OCWaveView is released under the MIT license. See LICENSE for details.