Skip to content

stubbornnessness/JSQWebViewController

 
 

Repository files navigation

JSQWebViewController

Build Status Version Status license MIT codecov.io 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

  • iOS 8+
  • Swift 2.0

Installation

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'
github "jessesquires/JSQWebViewController"

Documentation

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

More information on the gh-pages branch.

Getting Started

import JSQWebViewController

let controller = WebViewController(url: NSURL(string: "http://jessesquires.com")!)
let nav = UINavigationController(rootViewController: controller)
presentViewController(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.

About

A lightweight Swift WebKit view controller for iOS

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 91.1%
  • Ruby 5.1%
  • Objective-C 3.8%