Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Codecademy

Learn Swift: Protocols and Generics

via Codecademy

Overview

Write powerful functions, structs, classes, and enums that work with many different types by learning how to use protocols and generics.
Continue your Swift learning journey with Learn Swift: Protocols and Generics. Write powerful functions, structs, classes, and enums that work with many different types by learning how to use protocols and generics.



### Skills you’ll gain
* Define and conform to custom protocols.
* Apply protocol inheritance and extensions.
* Define generic functions, types, and protocols with associated types.

### Notes on prerequisites
We recommend that you complete [Learn Swift: Properties and Access Control](https://www.codecademy.com/learn/learn-swift-properties-and-access-control) before starting this course.

Syllabus

  • Protocols and Generics: Learn how to use protocols and generic to write powerful functions, structs, classes, and enums that work with many different types.
    • Lesson: Protocols and Generics
    • Quiz: Protocols and Generics
    • Project: Green Thumb
    • Informational: Next Steps

Taught by

Kenny Lin

Reviews

3.5 rating at Codecademy based on 2 ratings

Start your review of Learn Swift: Protocols and Generics

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.