Skip to content

Glossary: Swift Basics

CustomStringConvertible

Also written: description

A standard protocol that requires a `description` string, which `print` and string interpolation then show instead of the default text.

Where the book teaches it

Related terms

protocolstring interpolation