This is great, thanks!
Scotty Fister
1

Hi Scott.

Thanks! My understanding is that you can’t mutate the value inside the willSet block, so you can’t prevent the update. I could’ve written a custom getter and setter with backing storage, but using the didSet seemed more convenient and easier to understand.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.