Closed DenTelezhkin closed 7 years ago
Thanks, tried your improvement. I'd encountered the same problem with continuous loop. After suggested corrections the loop has gone. But now valueChanged event doesn't fire at all even if rotate by hand.
I believe it should. The only thing this PR does is follow usual Apple's convention:
I'm using workaround included here in the app, that has been working since 2014 actually =) Seems like this repo is abandoned, which is unfortunate, cause control is nice.
You are right: everything works like a charm, thanks!
This looks reaaaally stale.
Hello there! Let me explain a bit my use case scenario and the reason i'm sending this PR.
So basically i'm implementing audio player, that uses EFCircularSlider as a progress bar for the audio track. And i have basically two workflows:
To achieve first, i'm subscribing to UIControlEventValueChanged action, read EFCircularSlider currentValue and transfer it to my audio player. To achieve second, i have a timer, that fires every 0.1 seconds, that reads current progress of the audio track, and sets currentValue property on EFCircularSlider.
These two things create a endless feedback loop with currentValue property. To break it, a made a method on EFCircularSlider, that set's currentValue property without sending UIControlEventValueChanged action.