Swift 5.1 - What is Model View Controller (MVC) with Example. (Xcode 11.1)

preview_player
Показать описание
Hello All,
In this video, we will talk about the iOS architecture pattern that is Model View Controller or MVC. MVC is the most common architecture pattern which widely used in the application. Model View Controller is very easy to understand and implement.
We will learn Model View Controller or MVC with example in this video. We will implement one API and get the JSON and populate UITableView with that JSON using MVC pattern.

#MVC #ModelViewController #iOS #Swift

Todays Topics:-
Model View Controller, MVC, API calling using MVC architecture pattern, MVC design pattern.

Download the project from the below link:

Please Support me on: -
---------------------------------------------------------------------------------------------------------------

Instagram: LetCreateAnApp

---------------------------------------------------------------------------------------------------------------

For any Business inquiry or help contact me on the below address:

---------------------------------------------

Other Useful video Links:

***********************************************************************

***********************************************************************

Thank You
Happy Coding.
Рекомендации по теме
Комментарии
Автор

Thx Shubham! Nice explanation with some good tips too.

cf
Автор

Thank you! you've made this clear and simple!

wensmusic
Автор

Shouldn't you be creating other classes for network calls? The code does not look properly structured.

umairmanzoor
Автор

Superb Shubham, thanks you for such a simple explanation.

rahulsahurahul
Автор

Well now i am clear with this topic MVC, i am little confused between MVC and MVVM however thanks to you sir now i am pretty clear with MVC. Hope to see more new exciting topics. Thank You Sir.

tusharbeejawat
Автор

Hi Shubam while creating Alamofile not getting in import, can you please let me know how can i import

abhiram
Автор

You should do callAPI into model class for abstract the logic... but i understand that example :) thanks!

guitar.nicholas
Автор

Hello,
please make a video on MVVM with Collection view (custom cell - programmatically created cell)

swiftuispace
Автор

Thanks for the video, i have one query regarding MVC Pattern, since all the business logic goes inside conteoller, so for example if i am fetching any data form plist and updating model class accordingly and displaying it on view. So as per mvc pattern the business logic of fetching data must be written in controller class, but as per SRP principle, controller should only have code only for updating model class and updating view.

So how will i manage both the case, so that i can follow MVC as well as achieve Single responsibility priciple.

Please dont judge me, if my question is wrong at any point of time.

Thanks,
Nirmala

nirmalamaurya
join shbcf.ru