Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 614 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 614 Bytes

GooeySlider

Slider with discrete values and a gooey indicator

![Animated demo] (https://github.com/278204/GooeySlider/blob/master/GooeySelect/gooeySlider.gif)

Just add the files to your project and add the following code to add the slider.

let select = GooeySelect(frame: CGRect(x: 20, y: 400, width: 280, height: 50))
select.delegate = self
select.color = UIColor.redColor()   //Color of the slider and progressline
select.showProgessLine = true       //Alter the color of the line to the left of the slider?
select.numberOfOptions = 5          //Number of stops

self.view.addSubview(select)