Special offers now — see discounted courses.
day
:
hour
:
min
:
sec
See special offers
Learning Higher-Order Functions with Swift

Learning Higher-Order Functions with Swift

1h 7mAdvanced2018-11-29

Authors

Bear Cahill

Bear Cahill

Mobile Application Developer

Course details

By taking the time to truly grasp higher-order functions, you'll go from merely understanding the Swift language to mastering it. In this course, Bear Cahill shines a spotlight on higher-order functions in Swift, exploring what they are and how to use them. Bear starts by discussing the importance of higher-order functions and the basics of closures and functions as a basis for the rest of the course. He then covers a variety of higher-order functions—including sort, reduce, and compactMap—with a breakdown of the concepts behind each one (so you know when best to apply them). Learn about passing functions, closure optimizations, higher-order functions on strings, and more.

Learning objectives
What are closures?
Closures and function types
Basic higher-order functions, including sort and forEach
Powerful higher-order functions, including map and reduce
Passing functions
Closure optimizations
Higher-order functions on sets, dictionaries, and strings

Skills covered

SwiftCross-Platform DevelopmentiOSMobile DevelopmentAppleLearning

Concepts

0. Introduction

  • 01 - Understanding higher-order functions
  • 02 - What you should know

1. Closures and Functions

  • 03 - What are closures
  • 04 - Functions are closures
  • 05 - Closures and function types
  • 06 - Passing closures functions as parameters
  • 07 - Type aliases for types

2. Basic Higher-Order Functions

  • 08 - Higher-order functions
  • 09 - Sort
  • 10 - Sorted
  • 11 - Foreach

3. Powerful Higher-Order Functions

  • 12 - Map
  • 13 - Filter
  • 14 - CompactMap
  • 15 - FlatMap
  • 16 - Reduce
  • 17 - Other higher-order functions

4. Using Higher Order Functions

  • 18 - Passing functions
  • 19 - Closure optimizations
  • 20 - Chaining higher-order functions
  • 21 - Higher-order functions on sets
  • 22 - Higher-order functions on dictionaries
  • 23 - Higher-order functions on strings

Conclusion

  • 24 - Next steps

Related courses

Related learn paths

About us

LyndaKade is a leading learning platform that helps people learn business, software, technology, and creative skills to achieve personal and professional goals.

Phone numberAparat ChannelTelegram SupportTelegram ChannelInstagram Page

All rights to this site belong to LyndaKade.

Terms of Service|Privacy Policy

نماد الکترونیک enamad در صورت اتصال با آی‌پی داخل کشور، نمایش داده خواهد شد.
logo-samandehi - لوگو ساماندهی
zarinpal
zibal