Example code using willSet, didSet property observers in Swift

Advertisements

Advertisements