StepView is a library for building fully customize step views in your ios app. It provides an easy way to configure this views and use them.
- Set a view custom class as the StepView
- Configure view from attribute inspector as you want.
- Profit
- Create view
let stepView = StepView(frame: view.frame, numberOfSteps: 5, circleBorderColor: .black)
stepView.center = view.center
view.addSubview(stepView)
- Change step:
Change to the next step:
stepView.showNextStep()
or for the previous step:
stepView.showPreviousStep()
also you can set a different step by the:
stepView.moveTo(step: 5)
Add the following entry to your Podfile:
pod 'StepView'
Then run pod install
.
Don't forget to import StepView
in every file you'd like to use StepView.