Simple view showing the steps of a flow as used in the Beamly iOS app.
Try out the included demo project or just run
pod try BMYCircleStepView to give it a try.
- copy all the classes in the
BMYCircleStepViewfolder into your project or install via CocoaPods adding the following line to your Podfile
BMYCircleStepView.hin your class
- crete instances of
CircleStepView(Swift) like so:
BMYCircleStepView *circleStepView = [BMYCircleStepView alloc] initWithFrame:...]; circleStepView.font = ...; // optional circleStepView.selectedColor = [UIColor darkGrayColor]; circleStepView.unselectedColor = [UIColor lightGrayColor]; circleStepView.borderThickness = 2.0f; circleStepView.numberOfSteps = 3; circleStepView.currentStep = 2;
var circleStepView = CircleStepView(frame: CGRectZero) circleStepView.font = ... // optional circleStepView.selectedColor = UIColor.darkGrayColor() circleStepView.unselectedColor = UIColor.lightGrayColor() circleStepView.borderThickness = 2.0; circleStepView.numberOfSteps = 3; circleStepView.currentStep = 2;
It's possible to use also the
CircleView on its own.
This project is licensed under the BSD 3-Clause license
Note that we are not accepting pull requests at this time.