StepSlider
StepSlider copied to clipboard
Change tint color on index changing
@spromicky steps to reproduce:
- setup a step slider with 5 steps (1, 2, 3, 4, 5)
- set the slider to update tint color on
UIControlEvent.valueChangebased on returned index value - run the app
- select index 5, as the change is animating, attempt to drag the circle to a new index
- crash observed
Example GIF:

EDIT:
This issue is related to the animation, when i force this to be false (line: 266 of StepSlider.m) the application does not observe this crash
My crashes mainly occur due to a isEqual dead instance EXEC_BAD_INSTRUCTION when the plugin performs its CGColorRef comparisons
Originally posted by @davcpas1234 in https://github.com/spromicky/StepSlider/issues/21#issuecomment-486695828
Will be great to support some kind of heat indicator like in gif.