Post

Replies

Boosts

Views

Activity

Reply to I was wrong! MVVM is NOT a good choice for building SwiftUI applications
I read your article well. I definitely agree if it's a simple app like your example. However, it is not optimistic when it comes to having a slightly more complex function. If a loading indicator is needed during a network call, who and how controls it? If the service of domain A is completed, use the value to call the service of domain B and handle that data?? In simple cases like you said, there is no business logic between the View and the ViewModel, but more often than not.
Oct ’22