How to Use Protocols. Protocol Composition. Protocol-Oriented Programming | Swift & iOS Basics

preview_player
Показать описание
After two episodes of examining software interfaces at large, I’m (finally) moving on to Swift protocols in particular. In this video, I’m going over the fundamentals of their use, and demonstrating how to declare protocols, how to conform objects to them, and how to call protocol methods. In addition to that, I’m having a look at protocol composition (protocol inheritance) and explaining the principles of protocol-oriented programming in Swift.

Support the Swift Bird by…

Links:

Chapters:
• 0:00 Intro
• 1:11 Overview of Swift Protocols
• 1:46 Declaring Protocols
• 4:20 Conforming Objects to Protocols
• 7:19 Calling Protocol Methods
• 8:46 Protocol Composition (Protocol Inheritance)
• 10:16 Protocol-Oriented Programming

The Swift Bird, a Yakov Manshin production 🎞️

#Swift #protocols #softwaredevelopment
Рекомендации по теме
Комментарии
Автор

Thanks for solid protocol explanation.)

MegaOlzo
Автор

Can you please clarify the { get set} part please ❤

RichV-nu