bjzhangyang / ZYPinYinSearch

iOS汉字拼音搜索
MIT License
144 stars 27 forks source link

在swift上没自定义model的情况没办法使用。提示没有该属性 #4

Open MourinhoLove opened 5 years ago

LuKane commented 4 years ago

在模型前面增加一个关键字 "@objcMembers" ,例如 @objcMembers class SwiftItemModel: NSObject