Skip to content

Commit e75679d

Browse files
committed
Update README.md
1 parent 2e0b987 commit e75679d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,5 +101,5 @@ native.onSubmit({
101101
- Can not receive native return in JavaScript.
102102
- Method argument length is up to 10.
103103
- Allowed types for argument types are NSNumber, NSString, NSDate, NSArray, NSDictionary, and NSNull(If pass undefined in JavaScript).
104-
- If Value Types of Swift(Bool, Int32, Int, Float, Double, ...) used in argument is not wrapped in NSArray or NSDictionary, then it must be replaced with JSBool, JSInt or JSFloat.
104+
- If Value types of Swift(Bool, Int32, Int, Float, Double, ...) used in argument is not wrapped in NSArray or NSDictionary, then it must be replaced with JSBool, JSInt or JSFloat.
105105
(In ObjC, Value types of Swift is replaced by NSNumber.)

WKJavaScriptController/WKJavaScriptController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ extension WKJavaScriptController: WKScriptMessageHandler {
263263
}
264264

265265
let imp = method_getImplementation(method)
266-
if imp == nil { // Always true...?
266+
if imp == nil { // Always false...?
267267
return
268268
}
269269

0 commit comments

Comments
 (0)