Reflection in Swift — Swift by Sundell

www.swiftbysundell.com

Reflection is a common programming language feature that enables us to inspect, and work with, the members of a type — dynamically, at runtime. That may seem at odds with Swift’s heavy focus on compile-time validation — but in this article John Sundell takes a look at when reflection can come in handy, and how it can let us automate tasks by working with our code in a more dynamic fashion.

Read more...
Linkedin

Want to receive more content like this in your inbox?