Releases: TomThorpe/TTRangeSlider
Releases · TomThorpe/TTRangeSlider
1.0.7
Bug Fixes and New Features
Included Changes:
#73 - Add border color properties for slider line
#71 - add label position option : Above or Below
#68 - Fix mistake in README
#63 - Send UIControlEventValueChanged
#60 - Adds accessibility support for incrementing/decrementing slider.
#58 - Fixing minLabel does not reappear after re-enabling range.
v1.0.5
This release adds some new properties, and also the great UIAccessibility work done by @lpenaflor.
Thanks for your contributions!
Bug Fixes and More Customisation
New
- Added new
hideLabels
property to hide the labels on the slider. Previously the suggestion was to set the formatter override to [NSNull null]. This was bad. Especially for Swift. Now you should sethideLabels
to true instead. The old method will work for now too though. (thanks Aaron Connolly!) - Added custom handle image or custom handle colour -
handleColor
andhandleImage
properties (thanks fiantinangon and ClaudioTSM!) - Added custom line colour for the slider line -
sliderColorBetweenHandles
(thanks fiantinangon and ClaudioTSM!) - Added custom line height for the slider line -
lineHeight
(thanks ClaudioTSM!) - Added custom handle diameter for the size of the slider handles -
handleDiameter
(thanks ClaudioTSM!) - Added property to control how much the handle zooms by when it is selected by the user -
electedHandleDiameterMultiplier
(thanks ClaudioTSM!) - Added new delegate method
didEndTouchesInRangeSlider
(thanks andreyvit!) - Added new delegate method
didStartTouchesInRangeSlider
(thanks holgersindbaek!) - Made the delegate property an IBOutlet (thanks felipowsky!)
- Added
minLabelFont
andmaxLabelFont
properties to change the fonts of the labels (thanks codiophile!)
Fixed Bugs
- Do not try to prevent labels overlap when
disableRange == YES
- Without this fix, themaxLabel
would not go all the way to the left due to theminLabel
being accounted for even if hidden. (thanks JonathanTron!) - Fixed label spacing bug from #2 (thanks krychlinski for reporting and relevante for the fix!)
- Fixes a problem where TTRangeSlider would not always inherit the tintColor of the parent view when using Interface Builder (see #25 for details - thanks guillaume-algis!). Related: tintColor is only respected if a custom
handleColor
has not been set (thanks felipowsky!)
New Properties
Adds a few new properties like maxDistance and minDistance, fixes bug in delegate notification (see f17eccb)
IBDesignable (Live view in Interface Builder)
The control now uses IBDesignable so you can see a live preview and set the various properties directly in Interface Builder
Bugfix
Initial release
1.0.0 update readme formatting