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 when Inherited from uikit #74

Closed MinosJ closed 3 years ago

MinosJ commented 4 years ago

when object inherited from uikit like:

class TestView: UIView {} let _ = try? typeInfo(of: TestView.self)

it crash image

Is there any problem with me using this? thanks

wickwirew commented 4 years ago

Sorry for the slow response, but the provided example seems to work locally for me. What version of Runtime and Swift are you using?

MinosJ commented 4 years ago

Runtime: 2.1.1 Swift: 5.0

wickwirew commented 3 years ago

Looks like its been fixed in master for a while. Pushed a new 2.2.1 release and so it should be good now