v2.0.0
What's Changed
Major Changes
-
BREAKING: Renamed the
SiriWavewidget toSiriWaveform.SiriWaveformwidget no longer has a default constructor. Instead, it
provides two factory constructors:SiriWaveform.ios7(): Creates an iOS 7 Siri-style waveform.SiriWaveform.ios9(): Creates an iOS 9 Siri-style waveform.
-
BREAKING: Renamed the
SiriWaveControllerclass to
SiriWaveformController.SiriWaveformControlleris now asealedclass and includes two concrete
subclasses:IOS7SiriWaveformController: For managing iOS 7 Siri-style waveforms.IOS9SiriWaveformController: For managing iOS 9 Siri-style waveforms.
The controller classes no longer have methods to change the properties of the
waveform (e.g.,controller.setAmplitude(0.2);). Instead, you can directly
modify the properties of the controller (e.g.,controller.amplitude = 0.2;). -
BREAKING: Renamed the
SiriWaveOptionsclass toSiriWaveformOptions.SiriWaveformOptionsis now asealedclass and includes two concrete
subclasses:IOS7SiriWaveformOptions: Options for iOS 7 Siri-style waveforms.IOS9SiriWaveformOptions: Options for iOS 9 Siri-style waveforms.
-
BREAKING: Renamed the
SiriWaveStyleenum toSiriWaveformStyle.
Full Changelog: v1.0.2...v2.0.0