Skip to content

Glossary: Swift Beyond the Basics

protocol-oriented design

Describing each ability with a small protocol and sharing code through protocol extensions instead of base classes. A type picks up only the abilities it needs.

Where the book teaches it

Related terms

default implementationprotocol composition