At the end of this day, you'll look at functions differently. We begin by looking more closely at functions you use already. Next we explore higher order functions that either accept or return closures. We play with four canonical examples from the Swift Standard Library: map(), filter(), reduce(), and flatMap() and then create map() functions of our own. We finish with a look at MVC, MVVM, and maybe even a reactive style. We assume that you are an experienced programmer who has spent some time looking at Swift but you are new to Functional Programming. This course shows you how to add elements of a functional style to Object-Oriented and Protocol-Oriented Programming.
There are no prerequisites for this course.
1 Day/Lecture & Lab
This course is designed for experienced Swift developers who are new to Functional Programming.
- Understanding Functions
- Higher Order Functions
- Swift Standard Library
- More with Map