Clean iOS Architecture pt.5: MVC, MVVM, and MVP (UI Design Patterns)

Clean iOS Architecture pt.5: MVC, MVVM, and MVP (UI Design Patterns)

Essential Developer

5 лет назад

113,333 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@wayneosaur
@wayneosaur - 20.09.2023 18:04

So the controller didn't disappear when going from MVC to MVVM ... it's duties are just passed off to the the view and viewmodel? The controller orchestrates the interaction between view and model -- what is doing this orchestration in MVVM?

Ответить
@nazirjama6331
@nazirjama6331 - 18.11.2022 12:55

thanks, man this helped me a lot

Ответить
@abdallashawkyabdo2721
@abdallashawkyabdo2721 - 20.05.2022 19:07

perfect explanation, especially you mentioned the problem of MVC from the beginning of its evolution :)

Ответить
@mnesvat
@mnesvat - 08.12.2021 20:28

One of the best and cleanest explanation thanks

Ответить
@mohamednidhalmrad1228
@mohamednidhalmrad1228 - 05.10.2021 01:06

thanks a lot. it's very nice video. can you please explain the other design pattern clean swift and VIPER?

Ответить
@swiftandtips
@swiftandtips - 18.07.2021 03:09

Wow, your explanation of those three patterns is amazing! Thank you so much! 👏🏼

Ответить
@isurujn
@isurujn - 10.06.2021 17:44

Hi,

I have seen MVP tutorials where some offload things like showing an alert over to the presenter. And in some tutorials, they advice against that practice and recommend keeping the presenter UI-agnostic and have it only handle business logic.

I know there is no silver bullet, 100% correct way to these things. But personally, what do you think is the better approach? Should the presenter have UI code in it or not?

Ответить
@raulsilvamx
@raulsilvamx - 13.05.2021 14:58

Hi! I'm asking to all... What is the name app to make those workflow mockups? Looks amazing I would use it.

Ответить
@kitegames3351
@kitegames3351 - 20.04.2021 08:00

Great , awesome presentation

Ответить
@radomyrbezghin6299
@radomyrbezghin6299 - 05.04.2021 20:41

Okay, then why none of them figures out where to put networking code ? They are basically 3 similar patterns that have exactly the same flaws ...

Ответить
@rosey182
@rosey182 - 19.02.2021 00:02

I thank you for your clear and simple explanation. Grrrrreat job! Not a second wasted on fluff just the good stuff!

Ответить
@obeyyourmasterfelipe
@obeyyourmasterfelipe - 12.01.2021 21:15

Hey Caio, thank you for all the tips. I was stuck in MVC (apple) and no matter how I was separating things, one layer was always doing too much as you've said. Now I'll have another paths to go :) Thanks mate. (PS: Você é brasileiro? Deu pra sentir pelo sotaque... Um abraço cara! :D)

Ответить
@KaavyaTripathi06
@KaavyaTripathi06 - 05.12.2020 04:06

Thanks for the video, As you explain MVC, MVP MVVM and VIPER are UI Design Pattern then what is Arachtechtural Pattern in iOS?

Ответить
@osucaru009
@osucaru009 - 25.11.2020 14:52

You have a new subscriber dude

Ответить
@MrVipulLal
@MrVipulLal - 10.11.2020 02:15

Great stuff, mate. Clear , concise and comprehensive! Kudos

Ответить
@quickfingers5982
@quickfingers5982 - 31.10.2020 20:29

This is really great. Do you have an example of this, with all the layers you have (networking, routing, parsing, rendering..)?

Ответить
@FunnyRoom
@FunnyRoom - 22.10.2020 00:19

Good explanation, thank you

Ответить
@Korupt0
@Korupt0 - 10.08.2020 19:01

hi. Great video. thank you. please can you tell me what software you used to create your diagrams?

Ответить
@CrackedRecords
@CrackedRecords - 01.07.2020 20:16

So at the end MMVM is not solving anything that wasn't "working" on MVC just moved around, and as always the best scape is "you decide where you put it"

Ответить
@americanaccounts
@americanaccounts - 26.03.2020 11:44

Thank you very much. I would be interested how SwiftUI influences the selection of a UI pattern. In my option Apple released with SwiftUI a MVVM solution. So, in the next two years iOS 13 definitely is the default version on every iPhone. Therefore MVVM will be the new MVC. Would do you think?

Ответить
@Maw0822
@Maw0822 - 16.03.2020 19:54

Best tutorial on this topic I have found by far

Ответить
@kampolovna
@kampolovna - 23.01.2020 17:35

very nice and concise explanation, thank you for the video!

Ответить
@lifethreesixtydegree
@lifethreesixtydegree - 31.12.2019 11:34

business logic is good to have with a model in the case of MVVM? isn't should be with viewModel? Eg. Showing a specific date format based business requirement totally should be calculated by ViewModel not by the model. correct me if I am wrong.

Ответить
@guindows
@guindows - 09.11.2019 16:04

The best explanation ever. Direct, talking not only about the views, but included the other parts of the application as well (networking, parsing routing...), which most of other videos don't even mention about it, and very good and clear graphics. Well done mate. Thank you.

Ответить
@HashemRC
@HashemRC - 05.11.2019 22:34

I'm wondering why after one year I'm finding your tutorials and website?! great content and descriptions.

Ответить
@xaviercp2200
@xaviercp2200 - 04.07.2019 21:40

the best explanation ever

Ответить
@AmanKumar-hr5dc
@AmanKumar-hr5dc - 07.06.2019 14:19

Very nice video!!!!!!!!!!!!
At last, I finally understood these design patterns and the difference between MVC and MVVM clearly!!!!!!
Thank you so much!!!!!!!!

Ответить
@giuseppemorana7168
@giuseppemorana7168 - 08.05.2019 21:03

Thanks, I think this is one of the clearest tutorials on the web which explains these patterns and how are applied to the iOS platform. Really liked to see how the original MVC is different from the Apple implementation and how all those patterns are very similar between them :)

Ответить
@prabirkumar8027
@prabirkumar8027 - 30.01.2019 08:53

sir,
please do collectionview inside tableview using mvc

Ответить
@irjayjay
@irjayjay - 11.01.2019 15:51

Thank you, so many crappy tutorials out there that are poorly written or recorded. Yours was the best!

Ответить
@doug8171
@doug8171 - 16.12.2018 02:29

Could you add some example simple but representative public github example projects for these various architectures so we can connect the diagrams to what it looks like in code?

Ответить
@amrzayed4545
@amrzayed4545 - 04.11.2018 05:44

what is the best in ios MVVM or MVP?

Ответить
@Tobool
@Tobool - 24.08.2018 00:52

Hello, thanks for this new video. One comment that I think should be added is to explain why people keep implementing MVVM though it looks like MVC+boilerplate - because VM doesn’t depend on UIKit and it is easier to test.

Ответить