CocoaPods trunk is moving to be read-only. Read more on the blog, there are 12 months to go.
| TestsTested | ✗ |
| LangLanguage | SwiftSwift |
| License | MIT |
| ReleasedLast Release | Nov 2015 |
| SPMSupports SPM | ✗ |
Maintained by Nicola Perantoni.
NPWaveformView is an UIView fully customizable subclass that reproduces the waveform effect seen in Siri.
To run the example project, clone the repo, and run pod install from the Example directory first.
Download NPWaveformView and import NPWaveformView.swift inside your xcode project.
To start using NPWaveformView you can build the provided example project
Example/NPWaveformView.xcodeproj in Xcode.Import NPWaveformView in your Swift code:
import NPWaveformViewAdd an UIView with interface builder and set NPWaveformView as UIView custom class.
Link it with the outlet property declared in your code.
@IBOutlet weak var waveformView: NPWaveformView!These are the customizable properties:
waveColor numberOfWaves primaryWaveLineWidth secondaryWaveLineWidth idleAmplitude frequency density phaseShift amplitude Nicola Perantoni, [email protected]
NPWaveformView is available under the MIT license. See the LICENSE file for more info.