Runtime
Runtime copied to clipboard
A Swift Runtime library for viewing type info, and the dynamic getting and setting of properties.
How can I do that?
I couldn't find such information anywhere and I'm a bit stuck on this one issue. I've been trying to write a new closure over an existing closure but I haven't...
Hi, I tried to use the `Runtime` and faced an issue with an object that inherits from the `UIView`. Property offsets were wrong. When I dug deeper I found that...
how to get class/struct by name string? struct Person{} let info = typeInfo(of:"Person")
This PR adds the functionality to initialize enums and tuples using the `createInstance` function that is currently missing in the runtime framework as documented in #90 . ### Testing Adds...
Hi there! Thanks for an awesome library! Lately I faced the problem with @propertyWrapper. I have tried to create a @propertyWrapper: ```swift @propertyWrapper public struct Blob { public init(length: Int)...
Hi, Is it possible to list all swift protocols a class/struct is conforming? Thanks in advance :)
I'm not 100% sure why but `testClass` and `testGenericClass` are not part of the XCTestManifest and thus don't get run on Linux. The first `testClass` fails on Linux with a...
I'm looking some alternative to NSClassFromString but for structs :)
Hey, first of all kudos for the great job with the library. I do have a question regarding `createInstance(of:constructor:)` api. It is currently building `struct` and `class` kinds. Is there...