Latest 0.2.0
Homepage https://github.com/dadederk/StepByStep
License MIT
Platforms ios 8.0
Authors

CI Status
Version
License
Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

  • iOS 8.0+

Installation

StepByStep is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "StepByStep"

Usage

Initialisation

To add the stepped progress bar component, just initialise it with a frame and add it to your view:

self.stepByStepView = StepByStep(frame: stepByStepViewFrame)
self.view.addSubview(self.stepByStepView)

Customisation

Some customisation that you can do at the moment includes the number of steps and in which step you currently are. The separation between steps and the colour they have.

self.stepByStepView.currentStepIndex = 0
self.stepByStepView.numberOfSteps = 5
self.stepByStepView.stepsSeparation = 5.0
self.stepByStepView.stepsColor = UIColor.orangeColor()

Animation

Author

Daniel Devesa

Twitter Follow

License

StepByStep is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "StepByStep",
    "version": "0.2.0",
    "summary": "Stepped progress bar UI component written in Swift for iOS.",
    "description": "A simple, customizable and easy to use stepped progress bar component written in Swift for iOS.",
    "homepage": "https://github.com/dadederk/StepByStep",
    "license": "MIT",
    "authors": {
        "Daniel Devesa Derksen-Staats": "[email protected]"
    },
    "source": {
        "git": "https://github.com/dadederk/StepByStep.git",
        "tag": "0.2.0"
    },
    "social_media_url": "https://twitter.com/dadederk",
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "StepByStep/Classes/**/*"
}

Pin It on Pinterest

Share This