github.com/jessesquires/JSQWebViewController

[Deprecated] A lightweight Swift WebKit view controller for iOS


Keywords
ios, ios-ui, swift, viewcontroller, webview
License
MIT

Documentation

JSQWebViewController

Build Status Version Status license MIT codecov Carthage compatible Platform

A lightweight Swift WebKit view controller for iOS

screenshot        screenshot

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

You should probably use SFSafariViewController instead.

Requirements

  • Swift 3.0
  • Xcode 8
  • iOS 8+

Installation

CocoaPods (recommended)

use_frameworks!

# For latest release in cocoapods
pod 'JSQWebViewController'

# Feeling adventurous? Get the latest on develop
pod 'JSQWebViewController', :git => 'https://github.com/jessesquires/JSQWebViewController.git', :branch => 'develop'

Carthage

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 JSQWebViewController.xcworkspace.

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.