Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jessesquires/JSQWebViewController
[Deprecated] A lightweight Swift WebKit view controller for iOS
https://github.com/jessesquires/JSQWebViewController
ios ios-ui swift viewcontroller webview
Last synced: 3 months ago
JSON representation
[Deprecated] A lightweight Swift WebKit view controller for iOS
- Host: GitHub
- URL: https://github.com/jessesquires/JSQWebViewController
- Owner: jessesquires
- License: mit
- Archived: true
- Created: 2015-05-17T18:40:08.000Z (almost 10 years ago)
- Default Branch: develop
- Last Pushed: 2018-10-30T06:48:04.000Z (over 6 years ago)
- Last Synced: 2024-11-03T06:06:06.393Z (4 months ago)
- Topics: ios, ios-ui, swift, viewcontroller, webview
- Language: Swift
- Homepage: https://jessesquires.github.io/JSQWebViewController/
- Size: 265 KB
- Stars: 305
- Watchers: 7
- Forks: 42
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
[](http://unmaintained.tech/)
> **NOTE:** As of iOS 9, this library is no longer necessary.
>
> You should use [`SFSafariViewController`](https://developer.apple.com/library/prerelease/ios/documentation/SafariServices/Reference/SFSafariViewController_Ref/index.html) instead.# ⚠ Deprecated ⚠
# JSQWebViewController
[](http://travis-ci.org/jessesquires/JSQWebViewController) [][podLink] [][mitLink] [](https://codecov.io/gh/jessesquires/JSQWebViewController) [](https://github.com/Carthage/Carthage) [][docsLink]
*A lightweight Swift WebKit view controller for iOS*

## Requirements
* Swift 3.2+
* Xcode 9+
* iOS 8+## Installation
#### [CocoaPods](http://cocoapods.org) (recommended)
````ruby
use_frameworks!# For latest release in cocoapods
pod 'JSQWebViewController'
````#### [Carthage](https://github.com/Carthage/Carthage)
````bash
github "jessesquires/JSQWebViewController"
````## Documentation
Read the [docs][docsLink]. Generated with [jazzy](https://github.com/realm/jazzy). Hosted by [GitHub Pages](https://pages.github.com).
#### Generate
````bash
$ ./build_docs.sh
````#### Preview
````bash
$ open index.html -a Safari
````## Getting Started
````swift
import JSQWebViewControllerlet 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](https://github.com/jessesquires/HowToContribute).
## Credits
Created and maintained by [**@jesse_squires**](https://twitter.com/jesse_squires).
## License
`JSQWebViewController` is released under an [MIT License][mitLink]. See `LICENSE` for details.
>**Copyright © 2015 Jesse Squires.**
*Please provide attribution, it is greatly appreciated.*
[mitLink]:http://opensource.org/licenses/MIT
[docsLink]:http://jessesquires.github.io/JSQWebViewController
[podLink]:https://cocoapods.org/pods/JSQWebViewController