Programming in Swift: Functions & Types, Episode 15: compactMap & flatMap | raywenderlich.com

Try out two specialized mapping methods that help you deal with collections of optionals and multidimensional collections!


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/28433240-programming-in-swift-functions-types/lessons/15