Note
Making classes observable
xnoag
2023. 5. 6. 18:07
https://developer.apple.com/tutorials/app-dev-training/making-classes-observable
Making classes observable | Apple Developer Documentation
You’ve used the and property wrappers to define a value type as a source of truth for triggering updates in your view hierarchy. In this article, you’ll learn how to define a reference type as a source of truth for your app’s user interface.
developer.apple.com