Modern MVVM iOS App Architecture with Combine and SwiftUI
This is a cross-post from my blog on Advanced Swift Development. ๐ Click here to directly open this article.
With the introduction of SwiftUI and Combine, MVVM has become a new industry standard. In this article weโll cover:
- ๐ The MVVM pattern.
- ๐ The flow of data and dependencies.
- ๐ก Unidirectional data flow over of two-way bindings.
- ๐ Representing the UI as a finite-state machine.
- ๐จโ๐ป Complete source code included.
The reason why I am not posting the full article here is that I donโt want Medium to sell my articles. I am giving all my content for free and thatโs how itโs going to stay. As a reader youโll also get better experience with code highlight and formulae.