CocoaPods trunk is moving to be read-only. Read more on the blog, there are 13 months to go.
| TestsTested | ✗ |
| LangLanguage | Obj-CObjective C |
| License | MIT |
| ReleasedLast Release | Oct 2017 |
Maintained by Zayin Krige.
To run the example project, clone the repo, and run pod install from the Example directory first.
<html>
<body><br/><br/><br/><input value="Press Me" type="button" onclick="JSInterface.test();"></body>
</html>public class ClickCatcher : NSObject {
public func test() -> String{
return "Clicked"
}
}
let interfaces = ["JSInterface" : ClickCatcher()];
webview = EasyJSWKWebView(frame: view.bounds, configuration: config, withJavascriptInterfaces: interfaces)iOS8+
EasyJSWKWebView is available through CocoaPods. To install
it, simply add the following line to your Podfile:
pod "EasyJSWKWebView"Zayin Krige, [email protected]
EasyJSWKWebView is available under the MIT license. See the LICENSE file for more info.