Swift: Computed properties

Computed properties are provided by classes, structures and enumerations. They don’t store a value but provide a getter and optional setter to retrieve and set other properties and values indirectly.

Leave a Reply