This is the first in a series of videos where I look at higher order functions in Swift. In this video we look at map, compactMap and flatMap and how you can apply them to collections to be more concise and improve your code.
Starter Playground:
http://www.createchsol.com/StarterProjects/Map_compactMap_flatMap.playground.zip
Videos in this series
Part 1: map, compactMap, flatMap: https://youtu.be/sdGwOPW0ko4
Part 2: reduce, filter, removeAll: https://youtu.be/9wAhKodOyFI
Part 3: contains, forEach, sorted, https://youtu.be/TnbAABxVq5w
Stewart Lynch's YouTube Channel
https://youtube.com/StewartLynch
CreaTECH Solutions Website
https://www.createchsol.com
Stewart Lynch's GitHub
https://github.com/StewartLynch