MediumProgressView 1.1.0

MediumProgressView 1.1.0

TestsTested βœ—
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Sep 2016
SPMSupports SPM βœ—

Maintained by Nagasawa Hiroki.



  • By
  • Nagasawa Hiroki

MediumProgressView

Medium Progress View in Swift like a Medium Web application Progress View.

Inspired by KIProgressView. I made that a reference and customized a fine point.

Demo

MediumProgressView

Installation

Other

Add the MediumProgressView (including MediumProgressView.swift and MediumProgressViewManager.swift) folder into your project.

Description

You can set the certain property. For example, position and color, height, duration and so on. If you don’t set the these property, default value is used.

let progressViewManager = MediumProgressViewManager.sharedInstance
progressViewManager.position = .bottom    // Default is top.
progressViewManager.color = UIColor.red   // Default is UIColor(red:0.33, green:0.83, blue:0.44, alpha:1).
progressViewManager.height = 2.0          // Default is 4.0.
progressViewManager.isLeftToRight = false // Default is true.
progressViewManager.duration = 2.0        // Default is 1.2.
progressViewManager.repeatCount = 3       // Default is infinity.

The following method is show method.

progressViewManager.show()

The following method is hide method.

progressViewManager.hide()

See MediumProgressView-Sample project for more information.

Licence

MIT

Author

pixyzehn🐈