TTRangeSlider v1.0.4 Release Notes

Release Date: 2016-05-25 // almost 8 years ago
  • ๐Ÿ†• 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 set hideLabels to true instead. The old method will work for now too though. (thanks Aaron Connolly!)
    • โž• Added custom handle image or custom handle colour - handleColor and handleImage 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 and maxLabelFont 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, the maxLabel would not go all the way to the left due to the minLabel 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!)