wickwirew / Runtime

A Swift Runtime library for viewing type info, and the dynamic getting and setting of properties.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

crash when Inherited from uikit

MinosJ opened this issue · comments

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

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

Runtime: 2.1.1
Swift: 5.0

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