Problem Statement
What is a key benefit of the MVVM (Model-View-ViewModel) architecture in Swift applications?
Explanation
In MVVM the ViewModel sits between the Model and View, handling business logic and exposing data in a format the View can display. This separation allows independent testing of the ViewModel, cleaner UI code and improved maintainability. It is widely adopted in Swift interview discussions.
Practice Sets
This question appears in the following practice sets: