swift-reflection-dump is cool! For example, this command dumps 78,000 lines of information about SwiftUI types and their stored properties:
./swift-reflection-dump --arch=x86_64 --binary-filename=<path_to_SwiftUI_binary>[…]
If you don’t want to build the compiler to try this out, here’s the SwiftUI dump I made[…]
↧
swift-reflection-dump
↧