Using Swift Property Observers To Clean Up Objects
Published in
4 min readJan 22, 2019
In the previous article, we glanced at how we could use the Delegate Pattern to separate our Views from our Controllers. Today we’re diving into the world of Property Observers, to see how we can use them to make our objects easier to deal with.
What is a Property Observer?
Property observers observe and respond to changes in a…