UISlider compatibility
2.0.0 Upgrade Notes
If you were using previous versions of TGPControls, you may need to address the following:
- search and replace instances of
thumbColor
bythumbTintColor
. It is the same property adoptingUISlider
naming convention. tintColor
now affects the right side of the slider (the opposite of what it used to be). Again, this is adoptingUISlider
behavior convention.- 2 new properties are available:
minimumTrackTintColor
andmaximumTrackTintColor
, also adoptingUISlider
behavior convention.
Cosmetic changes
- The
ComponentStyleIOS
thumb responds tothumbTintColor
. It has be reduced ever so slightly to match iOS 9 appearance. - The
ComponentStyleIOS
track matches the iOS track colors exactly. - The track can be drawn at any size and maintain its color, clipping and integrity, even when the thumb is invisible.
- ticks color is controlled by
tintColor
, and is not overruled byminimumTrackTintColor
.