Swift and ValueForKeyPath

Matt Long:

Well, my early assumption from what I was seeing in Swift was that valueForKeyPath: was gone and no longer did we have a convenient way to grab only the fields we needed from a collection of objects.

Swift and ValueForKeyPath – You Can’t Keep a Good API Down

Then I downloaded some sample code from the Apple developer site and noticed they were doing what I needed, but using map to do it. The answer was map.