YoVDO

Learning Higher-Order Functions with Swift

Offered By: LinkedIn Learning

Tags

Swift Courses Functional Programming Courses Higher-Order Functions Courses Closures Courses

Course Description

Overview

Boost your Swift skills by adding higher-order functions to your coding. Explore the concepts behind higher-order functions like map and filter so you know when to apply each one.

Syllabus

Introduction
  • Understanding higher-order functions
  • What you should know
1. Closures and Functions
  • What are closures?
  • Functions are closures
  • Closures and function types
  • Passing closures/functions as parameters
  • Type aliases for types
2. Basic Higher-Order Functions
  • Higher-order functions
  • Sort
  • Sorted
  • Foreach
3. Powerful Higher-Order Functions
  • Map
  • Filter
  • CompactMap
  • FlatMap
  • Reduce
  • Other higher-order functions
4. Using Higher Order Functions
  • Passing functions
  • Closure optimizations
  • Chaining higher-order functions
  • Higher-order functions on sets
  • Higher-order functions on dictionaries
  • Higher-order functions on strings
Conclusion
  • Next steps

Taught by

Bear Cahill

Related Courses

Functional Programming Principles in Scala
École Polytechnique Fédérale de Lausanne via Coursera
Functional Program Design in Scala
École Polytechnique Fédérale de Lausanne via Coursera
Paradigms of Computer Programming
Université catholique de Louvain via edX
Introduction to Functional Programming
Delft University of Technology via edX
Paradigms of Computer Programming – Fundamentals
Université catholique de Louvain via edX