     func slider(_ sender: VRSlider, didSelectIndex index: Int)
 }
 
-public class VRSlider: UIView {
+public class VRSlider: UIView, PickerViewDelegate {
     private let configuration: VRSliderConfiguration
 
     public weak var delegate: VRSliderDelegate?

        matchSizeWithConstraints(view1: gradientContainerView, view2: self)
    }

    
}

extension VRSlider: PickerViewDelegate {
    func slider(_ sender: PickerView, didSlideTo: CGPoint) {
        selectionPickerView.scrollView.contentOffset.x = didSlideTo.x
    }

    func slider(_ sender: PickerView, didSelectIndex index: Int) {

    }
}

        return pickerView
    }()

    private lazy var pickerView: PickerView = {
        let pickerView = PickerView(items: self.configuration.values, itemWidth: self.configuration.itemWidth, itemFont: self.configuration.nonSelectedFont, itemFontColor: self.configuration.nonSelectedColor, sliderVelocityCoefficient: self.configuration.sliderVelocityCoefficient)

        pickerView.translatesAutoresizingMaskIntoConstraints = false
