CocoaPods trunk is moving to be read-only. Read more on the blog, there are 19 months to go.
TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Nov 2017 |
SwiftSwift Version | 3.0 |
SPMSupports SPM | ✗ |
Maintained by Alex Givens.
EqualizerIndicatorView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'EqualizerIndicatorView', '~> 1.0.2'
EqualizerIndicatorView can reflect the play, pause, and stop states of audio. After installing the Cocoapod in your project, create and animate an indicator like so:
let equalizerIndicatorView = EqualizerIndicatorView(frame: CGRect(x: 0, y: 0, width: 24, height: 18))
equalizerIndicatorView.setState(.play, animated: true)
equalizerIndicatorView.setState(.pause, animated: true)
equalizerIndicatorView.setState(.stop, animated: true)
EqualizerIndicatorView is designable in storyboards as well. To render an indicator in your storyboard, add a plain UIView to the view of your choice, then set the view’s Class and Module to “EqualizerIndicatorView”.
To run the example project, clone the repo, and run pod install
from the Example directory first.
EqualizerIndicatorView requires iOS 9.0 or tvOS 9.0.
Alex Givens, http://alexgivens.com
EqualizerIndicatorView is available under the MIT license. See the LICENSE file for more info.