Networking with Combine and SwiftUI



When I started building chat for our first companion app, I went with SwiftUI for the sake of development speed.
But if chat is the core experience of the app, it MUST FEEL RIGHT! There are table stakes you need to meet... can you do that with SwiftUI?
I immediately realized that List wasn’t... See more
SwiftData Updates - Part 1: Mock JSON Data and PreviewModifier
SwiftData Updates - Part 1: Mock JSON Data and PreviewModifier
Instead, they forward the result to the AppState or a Binding provided by the View.
The Binding is used when the result of work (the data) is owned locally by one View and does not belong to the central AppState , that is, it doesn’t need to be persisted or shared with other screens of the app.
The Binding is used when the result of work (the data) is owned locally by one View and does not belong to the central AppState , that is, it doesn’t need to be persisted or shared with other screens of the app.
Alexey Naumov • Clean Architecture for SwiftUI
Якщо ти хочеш, щоб цей додаток реально працював і синхронізувався між пристроями, я пропоную не писати свій окремий бекенд, а використати iCloud (CloudKit) або Firebase