I understand the purpose of willset
and didset
my I am not sure if they are considered closures.
If they were closures, shouldn't the following code produce a strong reference cycle?
var myProperty : Int = 0 {
didSet { self.callMyMethod() }
}