HamzaGhazouani / HGCircularSlider

A custom reusable circular / progress slider control for iOS application.
MIT License
2.6k stars 278 forks source link

Continuous updates? #22

Closed jbmaxwell closed 7 years ago

jbmaxwell commented 7 years ago

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 7 years ago

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)