Computed Variables vs Property Observers — Disambiguation
So, when I first started programming in Swift, one of the things that I found confusing is Computed Properties {get set}
and Property Observers { willSet didSet }
. Visually, both look very similar and both can trigger side effects…