This doesn’t work because it’s mixing two different SDK formats for an optional Int.
Here are the options:
Swift
@Persisted var sheetNo: Int?
Swift Pre 10.10.0
let sheetNo = RealmProperty<Int?>()
ObjC
@property NSNumber<RLMInt> *sheetNo;
This doesn’t work because it’s mixing two different SDK formats for an optional Int.
Here are the options:
Swift
@Persisted var sheetNo: Int?
Swift Pre 10.10.0
let sheetNo = RealmProperty<Int?>()
ObjC
@property NSNumber<RLMInt> *sheetNo;