- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
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
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
Комментарии отсутствуют
Информация о видео
22 января 2025 г. 16:56:16
00:16:20
Другие видео канала





![How to unwrap a [weak self] in Swift's Tasks](https://i.ytimg.com/vi/xpAj1xFyvGM/default.jpg)














