AdieSlider is a simple slider view which lets you perform a function when sliding and after sliding.
Currently not available by direct download,
Drag and drop the Slider Folder into your project
var adieSlider: AdieSliderView!
adieSlider = AdieSliderView(frame: CGRect.zero) adieSlider.tag = 200 // add a tag for the purpose of dismissing self.view.addSubview(adieSlider)
adieSlider.onChange = { print("HEY I CHANGED") }
// REMOVE THE SLIDER VIEW if let viewWithTag = self.view.viewWithTag(200) { viewWithTag.removeFromSuperview() }
- cocoapods integration
- carthage integration