Property observer in swift According to apple’s docs Property observers observe and respond to changes in a property’s value. Property observers are called every time a property’s value is set, even if the new value is the same as the property’s current value . Property that has observers must declared as var. Because It must be mutable to track changes. Also you need to set an initial value of ..