SHProgressView is an animated progress view for iOS written in swift.
A sample project demonstrates the usage of SHProgressView Class to implement progress view easily.
Just drag and drop the SHProgressView folder to your project.
- Just drag and drop an Table View in storyboard and set Table View class to SHSelections and set an outlet.
- How to configure:
@IBOutlet weak var progressTV: SHProgressView!
- Customise Progress view :
-- Progress cirle active & inactive color
progressTV.cricleActiveColor = UIColor(red: 0.0/255.0, green: 204.0/255.0, blue: 201.0/255.0, alpha: 1.0)
progressTV.cricleInactiveColor = UIColor.gray
-- Progress line active & inactive color
progressTV.lineActiveColor = UIColor(red: 0.0/255.0, green: 204.0/255.0, blue: 201.0/255.0, alpha: 1.0)
progressTV.lineInactiveColor = UIColor.gray
-- Text active & inactive color
progressTV.textActiveColor = UIColor.darkGray
progressTV.textInactiveColor = UIColor.gray
- Set data to progress view :
progressTV.items = ["Set list of items here"] //An array of string
- Animating progress view :
-- For animating to next Cell
progressTV.next()
-- For animating to previous Cell
progressTV.previous()
- iOS 10.0+
Download the Sample project.
Mail me @: shezadahamed95@gmail.com