A simple and customizable step-by-step progress bar.
StepProgressBar
is a very simple and customizable step-by-step progress bar.
StepProgressBar is available through CocoaPods. To install
it, simply add the following line to your Podfile:
pod 'StepProgressBar'
Copy the StepProgressBar.swift
to your Xcode project. That should do it.
StepProgressBar can be used via code or interface builder.
UIView
to your View Controller in the Storyboard.Identity Inspector
change the class to StepProgressBar
.
Importand - change the module to
StepProgressBar
too.
StepProgressBar
in your view controller class.
import StepProgressBar
IBOutlet
of the view in your view controller class.
@IBOutlet weak var progressView: StepProgressBar!
For Next
step:
progressView.next()
For Previous
step:
progressView.previous()
Use the traditional init methods and properties.
To run the example project, clone the repo, and run pod install
from the Example directory first.
SerhiiMatvieiev, iamsergeymatveev@gmail.com
StepProgressBar is available under the MIT license. See the LICENSE file for more info.