unalCe / ALWebViewController

Simple and Ready to Use WebViewController

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ALWebViewController 🌐

Version License Platform Language

Installation

ALWebViewController is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'ALWebViewController'

Usage

import ALWebViewController

// URL Example
let url = URL(string: "https://www.google.com")!
let urlType = ALWebContentType.url(url: url)
let webVC = ALWebViewController(content: type)
navigationController?.pushViewController(webVC, animated: true)

// Html String Example
var html = "<html><body><h1> Title </h1></body></html>"
let htmlType = ALWebContentType.html(html: html
let webVC = ALWebViewController(content: htmlType)
navigationController?.pushViewController(webVC, animated: true)

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Author

Soner Güler, sonerguler93@gmail.com Ünal Çelik, unal.celik@applogist.com

License

ALWebViewController is available under the MIT license. See the LICENSE file for more info.

About

Simple and Ready to Use WebViewController

License:MIT License


Languages

Language:Swift 67.7%Language:Ruby 32.3%