SwiftUI View is also a View Model
Comparison with WPF framework
Published in
4 min readJul 29, 2022
In this post, I will cover how a SwiftUI View is not only a view but also a ViewModel. We will compare it with WPF framework and see how SwiftUI already has built-in support for ViewModel right within the view. This means that in most cases, you don’t need to create an extra layer of View Model per screen.