/JSQWebViewController

[Deprecated] A lightweight Swift WebKit view controller for iOS

Primary LanguageSwiftMIT LicenseMIT

No Maintenance Intended

NOTE: As of iOS 9, this library is no longer necessary.

You should use SFSafariViewController instead.

⚠ Deprecated ⚠

JSQWebViewController

Build Status Version Status license MIT codecov Carthage compatible Platform

A lightweight Swift WebKit view controller for iOS

screenshot        screenshot

Requirements

  • Swift 3.2+
  • Xcode 9+
  • iOS 8+

Installation

CocoaPods (recommended)

use_frameworks!

# For latest release in cocoapods
pod 'JSQWebViewController'
github "jessesquires/JSQWebViewController"

Documentation

Read the docs. Generated with jazzy. Hosted by GitHub Pages.

Generate

$ ./build_docs.sh

Preview

$ open index.html -a Safari

Getting Started

import JSQWebViewController

let controller = WebViewController(url: URL(string: "http://jessesquires.com")!)
let nav = UINavigationController(rootViewController: controller)
present(nav, animated: true, completion: nil)

See the included example app, open Example/Example.xcodeproj.

Contribute

Please follow these sweet contribution guidelines.

Credits

Created and maintained by @jesse_squires.

License

JSQWebViewController is released under an MIT License. See LICENSE for details.

Copyright © 2015 Jesse Squires.

Please provide attribution, it is greatly appreciated.