Latest 0.3
Homepage https://github.com/mokumoku/SwiftWebViewProgress
License MIT
Platforms ios 8.0
Authors

Version
License
Platform

This is WIP Project.

SwiftWebViewProgress is a progress interface library for UIWebView.

This is nearly porting NJKWebViewProgress to Swift.

Requirements

  • iOS8 or later
  • Xcode8 or later (Swift 3.0)

Install

Via CocoaPods:

  • Add pod SwiftWebViewProgress to your Podfile
  • run pod install on command-line

Or:

  • import SwiftWebViewProgress.swift in your Project.
  • (Optionally, import SwiftWebViewProgressView.swift

Usage

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)
}

License

MIT license.

Latest podspec

{
    "name": "SwiftWebViewProgress",
    "version": "0.3",
    "summary": "UIWebView progress interface library for Swift",
    "description": "This is WIP Project.nnSwiftWebViewProgress is a progress interface library for UIWebView.nnThis is nearly porting NJKWebViewProgress to Swift.",
    "homepage": "https://github.com/mokumoku/SwiftWebViewProgress",
    "license": "MIT",
    "authors": {
        "mokumoku": "[email protected]"
    },
    "source": {
        "git": "https://github.com/mokumoku/SwiftWebViewProgress.git",
        "tag": "0.3"
    },
    "source_files": "SwiftWebViewProgress/SwiftWebViewProgress/**/*.swift",
    "platforms": {
        "ios": "8.0"
    },
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This