I'm trying to make an NSSlider's values/digits non-linear...
@IBOutlet private weak var _countSlider:NSSlider!;
let countSliderValues:[Int] = [1, 20, 50, 100, 500, 1000];
_countSlider.numberOfTickMarks = countSliderValues.count;
_countSlider.minValue = Double(countSliderValues[0]);
_countSlider.maxValue = Double(countSliderValues[countSliderValues.count - 1]);
_countSlider.allowsTickMarkValuesOnly = true;
_countSlider.integerValue = 100;
But for some reason the slider is showing linear values (1, 200, 400, 600, 800, 1000). Does anyone know why this happens?