Continuous updates?
jbmaxwell opened this issue · 1 comments
jbmaxwell commented
I was looking for a continuous updates option (like the standard Cocoa slider). I only seem to be getting updates on release... Is there a setting/property I'm not finding?
HamzaGhazouani commented
Hi @jbmaxwell, if you look for continuous update just use .valueChanged
of UIControlEvents.
If you look only for the end value, use .editingDidEnd
you could find below an example:
circularSlider.addTarget(self, action: #selector(play), for: .editingDidEnd)
circularSlider.addTarget(self, action: #selector(play), for: .editingDidEnd)