Skip to content

Glossary: Swift Basics

computed property

Also written: computed properties

A property with no stored value, worked out by code each time it is read, like `needsReorder` on `StockItem`. It can't go stale.

Where the book teaches it

Related terms

stored propertystruct