I have a NSSlider where the minimum is 0.6 and maximum is 1.
I want to be able to increment by 0.1 and not have values such as 0.6493 or 0.8435
How would I accomplish this?
I have the function
@IBAction func slider(sender : NSSlider) {
var x: Double = sender.doubleValue
// do something
}
Thanks.