Swift: How to Migrate MVC to MVVM & Intro Unit Testing

preview_player
Показать описание
MVVM can be a confusing topic to learn if you're not aware of all the patterns to follow. Furthermore, its sometimes pretty difficult to grasp what the point of it can be. In today's lesson, we'll take a look at how to transform an MVC project to MVVM. To tie it all up, we'll implement a few Unit Tests to watch for failures in our code. Enjoy.

Podcasts Course

Intermediate Training Core Data

Instagram Firebase Course

Facebook Group

Completed Source Code

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

This is by far the most understandable explanation of MVVM out there. All the other resources tries to overkill the architecture and focuses on creating the MVVM structure for the sake of creating the structure, not for the efficiency. Shout out to the brodie.

parahop
Автор

A much needed video from Brian about MVVM

Omeir
Автор

Wow! This is actually one of the best programming tutorials I've ever seen! I've been searching and studying for a while about MVVM on iOS and this was so straightforward and easy to follow (not to mention the test implementation part 👌🏻). Thank you so much for your effort and keep up the good work 😊

anapauladesousa
Автор

Hi Brian, I am working on a contract with MVVM. Your video saved my life again! Thanks again for all your hard work!!!

gushiciaihaozhe
Автор

Alright so I was looking for a MVC to MVVM implementation tutorial and found yours, opened the video and for my surprise, the video already had my thumbs up, which disappointed me as I wanted to do it again. Brilliant as usual Brian. Ty

alcprado
Автор

iOS Architecture topics are greatly appreciated! Thank you.
Viper in the future, perhaps?

ZoepX
Автор

U made it so easy. I am usually a silent watcher but this video made me comment. Thank you for such a nice tutorial.

HamzaKhan-xodv
Автор

Watched so many videos on this, but the way you explain things I'm very excited for this 🔥

midnytromeo
Автор

Totally awesome! I was looking for some Swift patterns to refactor some app -- and this video helped me a lot!


Have a great day,
Mike Wolfram

vonvision
Автор

Wow thanks a lot Brian . Such an important topic this one for young developers like us.

laiqueahmed
Автор

Great video for beginners to migrate their app from MVC to MVVM architecture! Thanks

ivanputeraa
Автор

Well, done. The MVVM explanation was helpful and I liked the intro to testing.

steverobertson
Автор

This greatly assisted me in technical interviews.

amari
Автор

Let's go start recording video like "MVVM to VIPER" :D I will wait this))

Nell
Автор

Hi,
Its a very nice tutorial, very informative, Thank you very much.
Just a small question about adding the UIKit in the viewmodel. I thinks view model should not have UIkit imported because. View model is just a way with which data will be shown on the view. View controller owns the view model and controller is responsible for managing the UIKit components. May be adding an enum for the properties in the viewmodel and changing the accessory type according to the enum would have been a much better.
Rest the tutorial is awesome.

rdsinchd
Автор

Nice video and easy explanation on Unit test. I have never done this in iOS projects, but I did this kind test in C# projects. Therefore it is not so hard to pick it up. Thank you!

chudq
Автор

That was awesome! It's just what I've been searching for.
Thank you so much, Brian :)

AhmdIsmail
Автор

i have waited for this video for such a long time =)

andreiamza
Автор

Brian, first of all, excellent introduction about MVVM and the importance of this architecture for a good unit test. Hope to see you talk about UI testing soon, but I want to know your opinion about rxSwift/rxCocoa. What do you think about this libraries? Do you plan to start some courses about reactive programming?

hinocenciopaulo
Автор

Thanks - what a super useful and clear explanation of two key topics!

rogerwprice
join shbcf.ru