StepProgressBar
StepProgressBar copied to clipboard
A simple and customizable step-by-step progress bar.
StepProgressBar
Introduction
StepProgressBar is a very simple and customizable step-by-step progress bar.

Installation
CocoaPods
StepProgressBar is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'StepProgressBar'
Manually
Copy the StepProgressBar.swift to your Xcode project. That should do it.
Usage
StepProgressBar can be used via code or interface builder.
Interface Builder
- Drag
UIViewto your View Controller in the Storyboard. - Select your view and in the
Identity Inspectorchange the class toStepProgressBar.
:warning: Importand - change the module to
StepProgressBartoo.
- Customization
- Import
StepProgressBarin your view controller class.
import StepProgressBar
- Create an
IBOutletof the view in your view controller class.
@IBOutlet weak var progressView: StepProgressBar!
For Next step:
progressView.next()
For Previous step:
progressView.previous()
Code
Use the traditional init methods and properties.
Example
To run the example project, clone the repo, and run pod install from the Example directory first.
Requirements
- iOS 9.0+
- Xcode 10.0+
- Swift 4.0+
Author
SerhiiMatvieiev, [email protected]
License
StepProgressBar is available under the MIT license. See the LICENSE file for more info.