Skip to content

Glossary: Swift Basics

extension

Also written: extensions

Adds new computed properties and methods to an existing type, like `money` on `Double`. It can't add stored properties.

Where the book teaches it

Related terms

protocolcomputed property