wickwirew / Runtime

A Swift Runtime library for viewing type info, and the dynamic getting and setting of properties.
MIT License
1.08k stars 94 forks source link

Crash on Realm Objects #52

Closed michaeljj63 closed 4 years ago

michaeljj63 commented 5 years ago

Hey @wickwirew,

Thanks for the great lib. However, it is crashing when I try to inspect a realm object. Could you please advise if I can do something about it?

Thanks in advance..

Here is a simple code:

` @objcMembers class TestModel: Object { dynamic var test: String! }

do { let info = try typeInfo(of: TestModel.self) // crash } catch let err { print(err) } `