warchimede / RangeSlider

A simple range slider made in Swift
MIT License
366 stars 78 forks source link

newValue is not available in didSet method #3

Closed maximeloizeau closed 8 years ago

maximeloizeau commented 8 years ago

The newValue variable contains the oldValue and not the new one. To access the new value, we just have to call the variable name.

New in latest version of Swift maybe ?

warchimede commented 8 years ago

@maximeloizeau Thank you for this fix :+1: