StepProgressBar 0.1.4

StepProgressBar 0.1.4

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Apr 2017
SwiftSwift Version 3.0
SPMSupports SPM

Maintained by Serhii Matvieiev.



  • By
  • SerhiiMatvieiev

StepProgressBar

Introduction

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

stepprogressbar

Installation

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.

⚠️ 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
  1. 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.