Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README file for MVP design pattern #77

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,13 +239,18 @@ If you're stuck with an earlier iOS version, [Masonry/SnapKit][snapkit-github] r
* [Model-View-ViewModel (MVVM)][mvvm]
* Motivated by "massive view controllers": MVVM considers `UIViewController` subclasses part of the View and keeps them slim by maintaining all state in the ViewModel.
* To learn more about it, check out Bob Spryn's [fantastic introduction][sprynthesis-mvvm].
* [Model-View-Presenter (MVP)][mvp]
* Being an evolution of MVC, it defines View as a recepient of UI events which then call the appropriate Presenter as needed.
* Follow this article to learn more about migration from MVC to MVP architecture [migration-from-mvc-to-mvp]
* [View-Interactor-Presenter-Entity-Routing (VIPER)][viper]
* Rather exotic architecture that might be worth looking into in larger projects, where even MVVM feels too cluttered and testability is a major concern.

[mvcs]: http://programmers.stackexchange.com/questions/184396/mvcs-model-view-controller-store
[mvvm]: https://www.objc.io/issues/13-architecture/mvvm/
[sprynthesis-mvvm]: http://www.sprynthesis.com/2014/12/06/reactivecocoa-mvvm-introduction/
[viper]: https://www.objc.io/issues/13-architecture/viper/
[mvp]: https://medium.com/@mohamedraja_77/mvp-in-ios-78fb008b37d1
[migration-from-mvc-to-mvp]: https://blog.moove-it.com/going-from-mvc-to-mvp-on-ios/

### “Event” Patterns

Expand Down