【发布时间】:2016-05-15 21:58:30
【问题描述】:
如何在RLMObject 中声明整数数组?
喜欢:
dynamic var key:[Int]?
给出以下错误:
Terminating app due to uncaught exception 'RLMException', reason: ''NSArray' is not supported as an RLMObject property. All properties must be primitives, NSString, NSDate, NSData, RLMArray, or subclasses of RLMObject. See https://realm.io/docs/objc/latest/api/Classes/RLMObject.html for more information.'
【问题讨论】: