Skip to content

Glossary: Swift Basics

conform

Also written: conforms, conformance

A type conforms to a protocol when it provides everything the protocol lists. You write `: Protocol` after the type's name and Swift checks it.

Where the book teaches it

Related terms

protocol