How to use the key path as functions in Swift 5+?
From Swift 5.2 key path can be passed as functions. Using key path closures seems much more simpler and readable.
From Swift 5.2 key path can be passed as functions. Using key path closures seems much more simpler and readable.