 @IBAction func moveSliderDates(_ sender: UISlider) {     let roundedValue = round(sender.value / step) * step     sender.value = roundedValue      delegate?.moveSliderDates(datePos: Int(roundedValue))  