Mirror, mirror…. Let’s use Swift’s Mirror API to support Code Reflection.
John Sundell article shows how our runtime code can inspect properties of a class or structure.
https://www.swiftbysundell.com/articles/reflection-in-swift/
No comments:
Post a Comment