Hour 21. Understanding Protocol-Oriented Programming

What You’ll Learn in This Hour:

Image How to extend protocols with default behavior

Image What types of problems protocol extensions solve

Image How to constrain type requirements in protocol extensions

At the World Wide Developer Conference (WWDC) this year, there was a particular session that gained a lot of popularity. That session was titled “Protocol-Oriented Programming in Swift,” by Dave Abrahams. In the ...

Get Swift in 24 Hours, Sams Teach Yourself, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.