<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class="gmail_default" style="font-family:georgia,serif">My code depends on the class version didSet but I used the struct version. It took me a long time to debug this out. Is this a knowledge that has been well known already?</div></div></div></blockquote></div>Yes, that’s how it’s supposed to be.<div class="">It’s a feature of struct which isn’t available with classes (so considering the Objective-C past, the „surprise“ is actually that didSet is called when you do that change to a struct property).</div></body></html>