Teamtreehouse - Swift 2.0 Protocols
English | mp4 | H264 1280x720 | AAC 2 ch | 110 MB
eLearning, iOS | Level: Beginner
English | mp4 | H264 1280x720 | AAC 2 ch | 110 MB
eLearning, iOS | Level: Beginner
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
Screenshots: