Model View Presenter

preview_player
Показать описание
Model View Presenter / MVP

In this episode we take a look at what the MVP pattern is, how it works, along with when and why we may want to use it.

Source code

Twitter
@jrasmusson

Courses

Level Up in Swift

Level Up AutoLayout
Рекомендации по теме
Комментарии
Автор

Hey Jonathan, thank you for the detailed video. This was very helpful. Especially the part about unit tests. Not many articles/tutorials on this talk about tests.

isurujn
Автор

Hi, I have got a question regarding the UserService class which is intended to be Network Manager class (at least that's how I understood it).

So my question is: Is the Network Manager Class itself part of the Model structure in MVP? or is it part of the Presenter?

damiragadilov
Автор

Awesome as always. You mentioned that's not your favorite pattern. I know that's a tricky topic and we should use different patterns for the specific use cases, but for instance, we have a basic take-home project with two screens. On the first screen, we have tableView with some products and on another one, we just add a new item to products(using core data), and when we back we need to see refreshed tableView. Which pattern will you use in this case?

dennycad
Автор

I have no idea why two people dislike this video. it's really useful. I'm not fluently in English but even I understand each words. what to say about mvp pattern! thanks !

dmitry