Skip to content

Releases: TomThorpe/TTRangeSlider

1.0.7

26 Jan 10:08
Compare
Choose a tag to compare

Various fixes and improvements (apologies for lack of detail, but please read the commits for more info)

Bug Fixes and New Features

14 Apr 15:44
452e1ef
Compare
Choose a tag to compare

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

27 Nov 13:30
Compare
Choose a tag to compare

This release adds some new properties, and also the great UIAccessibility work done by @lpenaflor.

Thanks for your contributions!

Bug Fixes and More Customisation

25 May 19:34
Compare
Choose a tag to compare

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!)

New Properties

07 Aug 15:35
Compare
Choose a tag to compare

Adds a few new properties like maxDistance and minDistance, fixes bug in delegate notification (see f17eccb)

IBDesignable (Live view in Interface Builder)

01 Apr 15:49
Compare
Choose a tag to compare

The control now uses IBDesignable so you can see a live preview and set the various properties directly in Interface Builder

Bugfix

01 Apr 11:55
Compare
Choose a tag to compare

Fixing a small bug with the default selected values possibly being out of range of the minimum and maximum if you changes the minimum and maximum, but not the default selected values.

Initial release

31 Mar 22:53
Compare
Choose a tag to compare
1.0.0

update readme formatting