filmov
tv
SwiftUI: MVVM Data Persistence Decoupling Using Dependency Injection (User Defaults) Part 1 of 2

Показать описание
In SwiftUI (iOS) decouple your View and ViewModel code from your data persistence code. This is often a messy business unless you create the right architecture. I will show you how to do this with Combine framework and Dependency Injection using protocol and the "any" key word. With this you don't have to touch the View and ViewModel code even if you completely change the back end. This will show how to create a MockDataService and UserDefault based DataService. This is part 1. The next video with demonstrate how to use CoreData for the data persistence.
SwiftUI: MVVM Data Persistence Decoupling Using Dependency Injection (User Defaults) Part 1 of 2
SwiftUI: MVVM Data Persistence Clean Code Using Dependency Injection (CoreData) Part 2
Clean Code in SwiftUI with Open Closed Principle MVVM and Dependency Injection
SwiftUI Mastery: Store Data in UserDefaults | Gymlex Part 009 - Clean Architecture
SwiftUI Tutorial - Part 5 | Build an Simple iOS App | Swift Basics
iOS DEV: Why Decouple Business Logic From CoreData, RxSwift & Other Frameworks? | ED Clips
iOS DEV: What's the problem with persisting a model that has a closure? | ED Clips
Easy Dependency Injection for SwiftUI
iOS MVVM adoption for multiple UI frameworks by Maksym Yakhin
Dependency Injection in SwiftUI, the Best Pattern
SwiftUI Networking Service Unit Testing with Factory Pattern: Mastering Model & JSON Decoding
Combine CurrentValueSubject
Core Data with SwiftUI (Create, Read, Update and Delete)
Create a Maths Quiz App in SwiftUI with MVVM | Step-by-Step Guide
Swift Connection 2023 - Simon B. Støvring. - Achieving Loose Coupling with Pure Dependency Injection...
How to use @AppStorage - Avoid this 1 Mistake (iOS, Xcode 12, Swift 5, SwiftUI, 2021)
iOS DEV: What's the threading model for Core Data? | ED Clips
CoinTracker App Using SwiftUI and Combine Framework 4/5: ViewModels
SwiftUI Todo CoreData iCloud Sync. Step by step instructions.
Live Stream - SwiftUI Architecture: Building Client/Server Application - Part 1
How I Created an Animated Health Dashboard in SwiftUI and Xcode 14
Unit tests with RxSwift/Combine & Model/ViewModel separation best practices | iOS Dev Live Mento...
Swift Dependency Injection: Beyond the Basics
Database driven UI with MVVM & Realm - Nikola Irinchev
Комментарии