From e3799cb411147eb9a4b9cf4ad2199e4bf066b06e Mon Sep 17 00:00:00 2001 From: Frank <472730949@qq.com> Date: Tue, 31 Aug 2021 15:50:15 +0800 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2f7ae340..34f6c3c2 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ MJExtension > > - [Usage - SwiftModelTests.swift](MJExtensionTests/SwiftModelTests.swift) -#### ‼️ `@objc` attributes should be added to class and property for declaration of Objc accessibility [在 Swift4 之后, 请在属性前加 `@objc` 修饰. 以保证 Swift 的属性能够暴露给 Objc 使用. ]‼️ +#### ‼️ `@objc` or `objcMembers` attributes should be added to class or property for declaration of Objc accessibility [在 Swift4 之后, 请在属性前加 `@objc` 修饰或在类前增加 `objcMembers`. 以保证 Swift 的属性能够暴露给 Objc 使用. ]‼️ #### ‼️ Use `NSNumber` instead of `Bool`, which is not bridged to `BOOL`. [请勿使用 `Bool` 类型, 因为在 Swift 中并没有桥接该类型, 不能显式的对应 `BOOL`, 请使用 `NSNumber` 替代] ‼️