Using MVVM to tackle complicated feed view
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Pods
TheGreatWall.xcodeproj
TheGreatWall.xcworkspace
TheGreatWall
asset
.gitignore
Podfile
Podfile.lock
readme.md

readme.md

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.