/TheGreatWall

Using MVVM to tackle complicated feed view

Primary LanguageSwift

TheGreatWall - A sample project for tackling complicated table view using MVVM pattern

This is a simple newsfeed app. In this app, you can check your friends photos, and the system suggests you more people to follow.

The architecture is quite simple, too:

I'll share how to use MVVM with protoocl techniques to simplify the table view and make the resposibility straightfoward and clear in my article Advanced iOS tutorial: Use MVVM to tackle complicated TableView.

The code here is advanced example which adds more result (command) patterns and a tableview-with-sections practice. Feel free to check the starter branch, which might be helpful for clarifying concepts of the MVVM pattern and the separation of concerns.