Войти
  • 1079Просмотров
  • 10 месяцев назадОпубликованоThe Code Bird

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

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… • …joining as a member: • …becoming a patron: • …buying me a coffee: Links: • Next episode: • Swift & iOS Basics playlist: • Protocol Oriented Programming in Swift: • Protocol-Oriented Programming Tutorial in Swift 5.1: 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