Slide 55
Slide 55 text
What is a protocol?
Protocols
• Set of properties, methods, and other requirements that a class, structure, or
enumeration can adopt by providing actual implementation of those
requirements
• Can have readable or writable properties
• Support inheritance, composition, associated types, generics and more