jessesquires / JSQWebViewController翻译 / 编辑

最近提交:4月前
创建时间:2015.05.18

语言构成

Swift89.8%
Ruby4.4%
Objective-C3.5%
Shell2.3%

README

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'

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

讨论区

说说你的看法