Swift
@Observable and didSet
When you mark a class as @Observable you can no longer use didSet because the macro converts it to a computed property, e.g. a simple: When expanded becomes: As you can see test has become a computed property that is a wrapper around a private _test property, a bit like Read more…