Simple extension of UINavigationController to display progress on the UINavigationBar.

Overview

KYNavigationProgress

Carthage compatible Pod Version Pod Platform Pod License Swift version

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

image.png

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

License

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

You might also like...
The easiest way to handle a simple full screen activity indicator in iOS. Written in Swift.
The easiest way to handle a simple full screen activity indicator in iOS. Written in Swift.

LLSpinner An easy way to handle full screen activity indicator. Easy to use Get Started // Show spinner LLSpinner.spin() // Hide spinner LLSpinner.st

A simple and awesome loading Activity Indicator(with block moving animation) for your iOS app.
A simple and awesome loading Activity Indicator(with block moving animation) for your iOS app.

BPBlockActivityIndicator BPBlockActivityIndicator is a clean and easy-to-use Activity Indicator meant to display the progress of an ongoing task on iO

A UINavigationController subclass that support pop interactive UINavigationbar with hidden or show.
A UINavigationController subclass that support pop interactive UINavigationbar with hidden or show.

KDInteractiveNavigationController Features ✨ UINavigationController interactive with UINavigationBar hidden or show Hide all UINavigationController ba

Zingle – An alert will display underneath your UINavigationBar πŸŽ…
Zingle – An alert will display underneath your UINavigationBar πŸŽ…

Zingle Zingle – An alert will display underneath your UINavigationBar πŸŽ… πŸ’₯ Note: Zingle has a dependency to have a UINavigationController in your app

A UINavigationBar extension to show loading effects
A UINavigationBar extension to show loading effects

BusyNavigationBar A UINavigationBar extension to show loading effects above navigation bar's background. Screenshot Stripes Bars Your custom layer Usa

iOS UI library to show and hide an extension to your UINavigationBar
iOS UI library to show and hide an extension to your UINavigationBar

ADNavigationBarExtension is a UI library written in Swift. It allows you to show and hide an extension to your UINavigationBar Features Use Extensible

STPopup provides STPopupController, which works just like UINavigationController in popup style, for both iPhone and iPad. It's written in Objective-C and compatible with Swift.
STPopup provides STPopupController, which works just like UINavigationController in popup style, for both iPhone and iPad. It's written in Objective-C and compatible with Swift.

STPopup STPopup provides STPopupController, which works just like UINavigationController in popup style, for both iPhone and iPad. It's written in Obj

A UINavigationController's category to enable fullscreen pop gesture with iOS7+ system style.
A UINavigationController's category to enable fullscreen pop gesture with iOS7+ system style.

FDFullscreenPopGesture An UINavigationController's category to enable fullscreen pop gesture in an iOS7+ system style with AOP. Overview θΏ™δΈͺ扩展ζ₯θ‡ͺ @J_雨 同

To Practice UINavigationController, transition, ViewController Life Cycle, send data to different page, asset catalogs
To Practice UINavigationController, transition, ViewController Life Cycle, send data to different page, asset catalogs

LED Board Check Point ! StackView μ—¬λŸ¬κ°œμ˜ view λ₯Ό set 으둜 λ§Œλ“€μ–΄ μ£ΌλŠ” μ—­ν™œμ„ 함 μΌμ •ν•œ κ·œμΉ™μ— λ”°λΌμ„œ stack view μ•ˆμ— μ›€μ§μ΄λŠ”κ²ƒμž„ 이미지 λ„£κΈ° ν”„λ‘œμ νŠΈ 내에 Assets 폴더 내에 Image Set 을 μΆ”κ°€ν•˜μ—¬ 1x, 2x

Completion Block for UINavigationController Push/Pop UIViewController

JNAPushPopCompletionBlock Synopsis Completion block for [self.navigationController pushViewController:(nonnull UIViewController *) animated:(BOOL)] an

Scrollable UINavigationBar that follows the scrolling of a UIScrollView
Scrollable UINavigationBar that follows the scrolling of a UIScrollView

A custom UINavigationController that enables the scrolling of the navigation bar alongside the scrolling of an observed content view Versioning notes

UINavigationBar Category which allows you to change its appearance dynamically
UINavigationBar Category which allows you to change its appearance dynamically

Deprecated This lib uses a hacky way to achieve the result, in the new iOS version, the structure of UINavigation is changed and this lib no longer wo

Scrollable UINavigationBar that follows the scrolling of a UIScrollView
Scrollable UINavigationBar that follows the scrolling of a UIScrollView

A custom UINavigationController that enables the scrolling of the navigation bar alongside the scrolling of an observed content view Versioning notes

An easy way to change backgroundColor of UINavigationBar when Push & Pop
An easy way to change backgroundColor of UINavigationBar when Push & Pop

RainbowNavigation 中文介绍 Feature RainbowNavigation is written in Swift 2.0. It helps you change the backgroundColor of UINavigationBar in animations and

 Progress.swift βŒ› Add beautiful progress bars to your loops.
Progress.swift βŒ› Add beautiful progress bars to your loops.

Progress.swift βŒ› Just wrap the SequenceType in your loop with the Progress SequenceType and you'll automatically get beautiful progress bars. Updating

PBCircularProgressView is a circular progress view for iOS similar to the app store download progress view.
PBCircularProgressView is a circular progress view for iOS similar to the app store download progress view.

Overview PBCircularProgressView is a circular progress view for iOS similar to the app store download progress view. It also ha

MultiPeer-Progress-iOS - Swift project to demo the use of the MultiPeer framework to send files between iOS devices and show the progress
UIView based progress bar that shows a progress based on duration in seconds

DurationProgressBar Create a progress bar based on a duration in seconds. The view is fully customisable. Install Add this repository to your swift pa

Comments
  • Added customizability for animation and fade durations

    Added customizability for animation and fade durations

    We love using this library, but we needed the ability to control the animation and fade durations. All changes in this pull request should be backwards-compatible.

    opened by kylerjensen 3
  • added UIAppearance compatibility

    added UIAppearance compatibility

    by making ProgressView public and the color variables dynamic, users can set global track and progress tint colors via ProgressView.appearance().trackTintColor = …

    opened by imaccallum 1
  • Is it possible to show the progress on top of the navigation bar?

    Is it possible to show the progress on top of the navigation bar?

    Currently, the progress sits right beneath the UINavigationBar, would it be possible to show it on top of the bar? Right underneath the safe area for iphone X and the status bar for other iphones? Thanks

    Something like this

    simulator screen shot - iphone x - 2018-05-03 at 10 18 37

    opened by munibrahman 0
  • Splitview Controller - DetailView - Progress does not show

    Splitview Controller - DetailView - Progress does not show

    When you are using a SplitView Controller (like the Master/Detail Xcode template) when you open up the Detail View in Portrait mode, the Progress Bar does not show.

    This only happens on the iPhone. On the iPad it appears in the Detail View.

    Any ideas? Great control by the way.

    opened by Sun3 2
Releases(2.0.2)
Owner
kyo__hei
kyo__hei
Simple Swift Progress HUD

MKProgress An iOS Simple Swift Progress HUD Requirements iOS 9.0+ Swift 3.0+ Xcode 8.0+ Installation MKProgress is only available via CocoaPods: pod '

Muhammad Kamran 143 Dec 23, 2022
Completely customizable progress based loaders drawn using custom CGPaths written in Swift

FillableLoaders Completely customizable progress based loaders drawn using custom CGPaths written in Swift Waves Plain Spike Rounded Demo: Changelog:

Pol Quintana 2.1k Dec 31, 2022
UIProgressView replacement with an highly and fully customizable animated progress bar in pure Core Graphics

The YLProgressBar is an UIProgressView replacement with a highly and fully customizable animated progress bar in pure Core Graphics. It has been imple

Yannick Loriot 1.3k Jan 5, 2023
Flexible Stepped Progress Bar for IOS

FlexibleSteppedProgressBar This is a stepped progress bar for IOS. The base code is derived from ABSteppedProgressBar. Most of the design is customisa

Amrata Baghel 549 Jan 6, 2023
πŸ“Š A customizable gradient progress bar (UIProgressView).

GradientProgressBar A customizable gradient progress bar (UIProgressView). Inspired by iOS 7 Progress Bar from Codepen. Example To run the example pro

Felix M. 490 Dec 16, 2022
Step-by-step progress view with labels and shapes. A good replacement for UIActivityIndicatorView and UIProgressView.

StepProgressView Step-by-step progress view with labels and shapes. A good replacement for UIActivityIndicatorView and UIProgressView. Usage let progr

Yonat Sharon 340 Dec 16, 2022
πŸ’ˆ Retro looking progress bar straight from the 90s

Description Do you miss the 90s? We know you do. Dial-up internet, flickering screens, brightly colored websites and, of course, this annoyingly slow

HyperRedink 18 Nov 24, 2022
Material Linear Progress Bar for your iOS apps

LinearProgressBar Material Linear Progress Bar for your iOS apps Installation Carthage: github "Recouse/LinearProgressBar" CocoaPods: Add this to you

Firdavs Khaydarov 161 Dec 5, 2022
A clean and lightweight progress HUD based on SVProgressHUD, converted to Swift with the help of Swiftify.

IHProgressHUD IHProgressHUD is a clean and easy-to-use HUD meant to display the progress of an ongoing task on iOS and tvOS. IHProgressHUD is based on

Swiftify 202 Dec 22, 2022
Simple HUD.

VHUD Simple HUD. VHUD is inspired by PKHUD. Example Show import VHUD func example() { var content = VHUDContent(.loop(3.0)) content.loadingText =

Airin 138 Jan 24, 2021