Загрузка...

How to use @Observable outside of SwiftUI

This video is a companion for the following blog post: https://www.donnywals.com/observing-properties-on-an-observable-class-outside-of-swiftui-views?utm_source=youtube

Learn how you can explore and use the Observable macro and more specifically how you can observe properties on observable classes using withObservationTracking.

In this video, we take a look at the shortcomings or missing features in with-observation tracking. We take a look at how we could add them. We end up figuring out that withObservationTracking is missing some stuff, and it's really hard to use properly when you have Swift 6 mode enabled.

I share my experience of exploring that and my thoughts. If you're interested in learning more about observable, make sure you check out the two videos below.

https://youtu.be/cMkmwUne9Xk
https://youtu.be/YgrnC1hIFEY

Видео How to use @Observable outside of SwiftUI канала donny wals
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять