Skip to content

Reproduces the Siri waveform effect in Swift for iOS

License

Notifications You must be signed in to change notification settings

jyunderwood/WaveformView-iOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WaveformView iOS

A UIView subclass, in Swift, that reproduces the waveform effect seen in Siri on iOS 7 and 8.

Originally a Swift and iOS port of SISinusWaveView that also removed the requirement of EZAudio. There is also a WaveformView for macOS that shares most of the same code. This project includes a simple demo application but it's also used in the example application Talkboy for iOS.

Talkboy Demo

Install via Carthage

Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.

You can install Carthage with Homebrew using the following command:

Install via Swift Package Manager

Open Xcode and Select from menu to File > Swift Packages > Add Package Depende.

$ brew update
$ brew install carthage

To integrate WaveformView into your Xcode project using Carthage, specify it in your Cartfile:

github "jyunderwood/WaveformView-iOS" ~> 2.0

Then follow the iOS building instructions in the Carthage README.

Change Log

  • 2.0.4
    • Swift 4 compatibility
  • 2.0.3
    • Remove 10.0 as the deployment target
  • 2.0.2
    • Framework scheme is now shared for Carthage support
  • 2.0.1
    • Remove unneeded get of current context within the wave loop
  • 2.0
    • Updated for Swift 3.0
    • Now a proper iOS framework
    • Includes a simplified example application
    • Renamed from SiriWaveformView to WaveformView
  • 1.2
    • Updated for Swift 2.2
  • 1.0
    • Initial release