Skip to content

Glossary: Swift Basics

protocol

Also written: protocols

A list of properties and methods a type promises to provide, without saying how, such as `Priced` for bags and merchandise.

Where the book teaches it

Related terms

conformextensiongenerics