Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 28cbe42

Browse files
authored
Fixed a typo and some English grammar.
1 parent 5501b15 commit 28cbe42

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎README.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
1515
# What Can WKWebViewJavascriptBridge Do?
1616

17-
You can write hybrid moudles in just a few lines of code by use WKWebViewJavascriptBridge without need to be concerned with the underlying messaging implementation.
17+
You can write hybrid modules in just a few lines of code by using WKWebViewJavascriptBridge without the need to be concerned with the underlying messaging implementation.
1818

1919
![](Rources/WKWebViewJavascriptBridgeDemo.gif)
2020

@@ -51,8 +51,8 @@ bridge = WKWebViewJavascriptBridge(webView: webView)
5151
### 2. Register a Handler in Native, and Call a JS Handler:
5252

5353
``` swift
54-
bridge.register(handlerName: "testiOSCallback") { (paramters, callback) in
55-
print("testiOSCallback called: \(String(describing: paramters))")
54+
bridge.register(handlerName: "testiOSCallback") { (parameters, callback) in
55+
print("testiOSCallback called: \(String(describing: parameters))")
5656
callback?("Response from testiOSCallback")
5757
}
5858

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /