Latest 0.1.4
Homepage https://github.com/SerhiiMatvieiev/StepProgressBar
License MIT
Platforms ios 8.0
Frameworks UIKit
Authors

CI Status
Version
License
Platform

Introduction

StepProgressBar is a very simple and customizable step-by-step progress bar.

stepprogressbar

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

  1. Drag UIView to your View Controller in the Storyboard.
  2. Select your view and in the Identity Inspector change the class to StepProgressBar.

    :warning: Importand – change the module to StepProgressBar too.

screen shot 2017-04-18 at 17 33 46

  1. Customization

screen shot 2017-04-18 at 17 16 52

  1. Import StepProgressBar in your view controller class.
    import StepProgressBar
  2. Create an IBOutlet of 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 8.0+
  • Xcode 8.0+
  • Swift 3.0+

Author

SerhiiMatvieiev, [email protected]

License

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

Latest podspec

{
    "name": "StepProgressBar",
    "version": "0.1.4",
    "summary": "A simple step-by-step progress bar.",
    "description": "TODO: Add long description of the pod here.",
    "homepage": "https://github.com/SerhiiMatvieiev/StepProgressBar",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "SerhiiMatvieiev": "[email protected]"
    },
    "source": {
        "git": "https://github.com/SerhiiMatvieiev/StepProgressBar.git",
        "tag": "0.1.4"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "StepProgressBar/Classes/**/*",
    "frameworks": "UIKit",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This