๐ฐcomputed property
โฑ๐ง -> stored properties, keyword "let"
Swift โฉ properties โฉ computed property
Accessor is another name for a computed property.
A computed property doesnโt store a value directly like the stored properties declared using
let
.Computed properties use the
var
keyword because their value may vary depending on the results of the computation.
Last updated