FDWaveformView icon indicating copy to clipboard operation
FDWaveformView copied to clipboard

Outdated README: play progress and supports animation features

Open Dario-Gasquez opened this issue 3 years ago • 1 comments

The README file uses this code sample:

self.waveform.progressSamples = self.waveform.totalSamples / 2

To illustrate the Set play progress feature (also applies to the Supports animation feature).

Latest code version requires something like this:

let samplesToHighlight = waveformView.totalSamples / 2
 waveformView.highlightedSamples = 0 ..< samplesToHighlight

Suggestion: Update the README to reflect this code change.

Dario-Gasquez avatar Aug 27 '21 18:08 Dario-Gasquez

Confirmed defect. Thank you.

fulldecent avatar Aug 27 '21 20:08 fulldecent