I saw this post Advanced Dynamic Properties in Swift , but I don't want it to complete the class in NSObject . This applies to the Realm database. I don't need to have nil properties, but it would be nice if I modeled my database. The Realm documentation, which can be found here https://realm.io/docs/swift/latest/ , says the options are supported. Here is my
The code
dynamic var complete: Bool? = nil
and here is mine
Mistake
Property cannot be marked dynamic because its type cannot be represented in Objective-C
I know this is the same code and error as the message above, but I'm just wondering if the Realm documentation says that it supports it, do they have another job?
ios swift2 optional realm
Cody weaver
source share