Skip to content

Glossary: Swift Beyond the Basics

protocol extension

An extension on a protocol that adds shared code, such as default implementations, to every conforming type.

Where the book teaches it

Related terms

default implementationprotocol-oriented design