Hour 21. Understanding Protocol-Oriented Programming
What You’ll Learn in This Hour:
How to extend protocols with default behavior
What types of problems protocol extensions solve
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 the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.