Slides from a talk on CocoaHeads Kyiv #12 meetup:
https://www.facebook.com/events/134019690473591/
Demo project:
https://github.com/OlexandrStepanov/MVVM-RouterDemo
7. + Responsibilities distributed better
+ Improved testability
- ViewController and Presenter have a
reference of each other
- Tests side effects from
routing
MVP
14. + Good level of responsibilities
distribution
+ Good level of testability
+ Less classes & protocols
then in VIPER …
- … but still a lot of.
MVVM+Router
15. • Use the same architecture across the
project
• Define base classes/protocols for the
architecture of your choice
• Use dependency through protocol
whenever it’s possible
• Use mocks in tests
Summary