CocoaPods trunk is moving to be read-only. Read more on the blog, there are 19 months to go.

KYNavigationProgress 2.0.2

KYNavigationProgress 2.0.2

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Sep 2017
SwiftSwift Version 4.0
SPMSupports SPM

Maintained by kyo__hei.







KYNavigationProgress is simple extension of UINavigationController to display progress on the UINavigationBar.

image.png

Usage

Progress

import KYNavigationProgress

// get and set progress.
self.navigationController?.progress = 0.5

// set progress with animation.
self.navigationController?.setProgress(0.1, animated: true)

// finish progress.
self.navigationController?.finishProgress()

// cancel progress.
self.navigationController?.cancelProgress()

Custom

// default is UIColor(red: 0.0, green: 122/255, blue: 1.0, alpha: 1.0)
self.navigationController?.progressTintColor

// default is UIColor.clearColor()
self.navigationController?.trackTintColor

// default is 2.0
self.navigationController?.progressHeight

License

This code is distributed under the terms and conditions of the MIT license.