OCWaveView 0.1.1

OCWaveView 0.1.1

TestsTested โœ—
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Mar 2017
SwiftSwift Version 3.0
SPMSupports SPM โœ—

Maintained by Emannuel Carvalho.



OCWaveView

๐ŸŒŠ A UIView subclass to present visual feedback for audio input

There are currently three different types of waveViews you can choose from: WaveView, SimpleWaveView and BarsWaveView.

Requirements

  • iOS 8.0+
  • Xcode 8.0+

Usage

Code

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.

Storyboard

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.

Instalation

Manually

You can simply copy OCWaveView.swift into your project.

Acknowledgements

A big thanks to:

  • Kaique D'amato for helping me distribute OCWaveView via Cocoapods and for yelling at me that โ€œfinished is better than perfectโ€
  • Rafael Feroli for helping me out with how the waves should look

License

OCWaveView is released under the MIT license. See LICENSE for details.