Hour 17. Using Protocols to Define Behavior

What You’ll Learn in This Hour:

Image How to define protocols

Image How to adopt protocols in classes, enums, and structs

Image How to conform to protocols and check for conformance

Image How to use protocols as types

Image How to inherit ...

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.