How to use realm in SwiftUI? - example with MVVM and Combine - learn about SwiftUI's drawing engine

73 Просмотры
Издатель
Learn how to read and write data with Realm Database for SwiftUI. Realm is a powerful solution to persist data on you iOS devise ⭐️⭐️⭐️. We will build an example project in SwiftUI with realm. We will see how the drawing engine of SwiftUI works with objectWillChange, which is a Combine publisher: PassthroughSubject.

The project implements MVVM as a design pattern. You will learn how to create a simple model with realm and relationships between objects. How to create, delete and update objects in realm.

Because realm is based on life objects, it is not working properly with SwiftUI. I will show you situations that will crash your app
Категория
Язык программирования Swift
Комментариев нет.