KYNavigationProgress
  • September 24, 2023

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

Installation


CocoaPods

KYNavigationProgress is available on CocoaPods. Add the following to your Podfile:

use_frameworks!
pod ‘KYNavigationProgress’

Carthage

KYNavigationProgress is available through Carthage. To install it, simply add the following line to your Cartfile:

github “ykyouhei/KYNavigationProgress”

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

GitHub


View Github

YOU MIGHT ALSO LIKE...
CameraBackground

Features Both front and back camera supported. Flash modes: auto, on, off. Countdown timer. Tap to focus. Pinch to zoom. Usage  

DKCamera

Description A light weight & simple & easy camera for iOS by Swift. It uses CoreMotion framework to detect device orientation, so ...

HorizonSDK-iOS

Horizon SDK is a state of the art real-time video recording / photo shooting iOS library. Some of the features ...

LLSimpleCamera

LLSimpleCamera: A simple customizable camera - video recorder control LLSimpleCamera is a library for creating a customized camera - video ...

RSBarcodes_Swift

RSBarcodes allows you to read 1D and 2D barcodes using the metadata scanning capabilities introduced with iOS 7 and generate ...