The power of key paths in Swift — Swift by Sundell

Since Swift was originally designed with a strong focus on compile time safety and static typing, it mostly lacks the sort of dynamic features commonly seen in more runtime-focused languages. However, Swift keeps gaining more and more features that are more dynamic in nature - while still retaining its focus on type safe code. This article takes a look at how key paths in Swift work, and some of the cool and powerful things they can let us do.


Want to receive more content like this in your inbox?