Module 1 of 2 in Advanced Swift Techniques

Generics, Protocols & Functional Programming in Swift

Share
Save for later

Module outcomes

  • Learn how to reduce code duplication by creating generic functions and types that work with different types of objects.
  • Dive deeper into how protocols support concepts such as polymorphism.
  • Learn about functional programming and how Swift supports functional programming.

Covered concepts

  • Swift Generics
  • Swift Protocols
  • Functional Programming in Swift

Module content

Generics - IntroductionStart
Generics
Constraints
Generics - Conclusion
Lesson 1 Quiz
Protocols - IntroductionStart
Combining Protocols
Type Erasure
Types
Protocols - Conclusion
Lesson 2 Quiz
Functional Programming
Lesson 3 Quiz

Next module

iOS & Swift New
Advanced Swift Concurrency
Harness the power of Swift Concurrency through usage of async/await and suspending functions. Learn how Sw... more

Instructors

Contributors

Eric Jenkinson

Tech Editor

Adriana Kutenko

Illustrator

Ehab Amer

Final Pass Editor

Over 300 content creators. Join our team.