lundi 8 février 2021

Best Layer to implement API Calls in MVVM SwiftUI

I'm creating an App Architecture at the moment using MVVM. Basically I have Model, View, ViewModel, and Service Layer. The question is, where do we make the network calls? Is it in Model or ViewModel?

I'm using Swift 5 and SwiftUI 1.0

Aucun commentaire:

Enregistrer un commentaire