SwiftArchitect/TGPControls

TGPDiscreteSlider: Tint colour sets the track colour, rather than the 'fill' color

Closed this issue · 4 comments

Thanks for this component. The discrete notches work really well.

Issue: I set the tintColor in IB, thinking it'd change the default iOS blueish colour. It actually set the colour of the remainder of the track instead.

screen shot 2015-08-13 at 16 13 04

To me, tintColor should be the fill colour, and the track colour should remain greyish by default.

Better still, I expect that TGPDiscreteSlider should adopt the minumum/maximumTrackTintColor properties in UISlider. See http://stackoverflow.com/a/21688426/590767

Do you have a fix for this issue ; if not, I can release a new version.

@SwiftArchitect Sorry no fix — please go ahead!

This requires an API and behavior change. Will be available in TGPControls 2.0.