TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Jun 2017 |
SwiftSwift Version | 3.0 |
SPMSupports SPM | ✗ |
Maintained by Daichi Ichihara.
This is WIP Project.
SwiftWebViewProgress is a progress interface library for UIWebView.
This is nearly porting NJKWebViewProgress to Swift.
Via CocoaPods:
pod SwiftWebViewProgress
to your Podfilepod install
on command-lineOr:
SwiftWebViewProgress.swift
in your Project.SwiftWebViewProgressView.swift
progressProxy = WebViewProgress()
webView.delegate = progressProxy
progressProxy.webViewProxyDelegate = self
progressProxy.progressDelegate = self
After loading webView, WebViewProgress
call delegate method.
func webViewProgress(webViewProgress: WebViewProgress, updateProgress progress: Float) {
progressView.setProgress(progress, animated: true)
}
MIT license.