What is a KeyPath in Swift

Key-Path expressions in Swift allow us to dynamically access type properties. In this post, Sarun Wongpatcharapakorn describes the various KeyPath types available, explains their usage, and provides examples of their use.