Protocols in Swift 3
99-minute iOS CourseStart Course
About this Course
Called interfaces in other languages, protocols define a blueprint of methods, properties, and other requirements that suit a particular task or piece of functionality. Protocols allow us to build flexible, decoupled objects without the limitations of inheritance.
In this course, we’ll learn how to write basic protocols in Swift, how they are used in iOS development and how they lead better code reuse.
What you'll learn
- Protocol syntax
- Protocols as types
- Protocol composition
Pasan spends most of his time learning and the rest trying to figure out how to pass that knowledge on to others. It's a hard job but he loves it all the same. You can find him everywhere as @pasanpr
You need to sign up for Treehouse in order to download course videos.Sign up