Swift: MVP Design Pattern Architecture (2022, iOS, Xcode 12, Swift 5) - iOS for Beginners

Swift: MVP Design Pattern Architecture (2022, iOS, Xcode 12, Swift 5) - iOS for Beginners

iOS Academy

3 года назад

27,631 Просмотров

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


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

Saif DJ
Saif DJ - 30.08.2023 20:43

MVVM and MVP they both look similar, Its just that "view model" is mediator in MVVM and "presenter" is mediator in MVP.
Could you make a video differentiating these two patterns!

Ответить
Mushroom Master
Mushroom Master - 21.10.2022 14:24

When I embed our UsersViewController in Navigation Controller and then start the application, I get a message in console: [Assert] UINavigationBar decoded as unlocked for UINavigationController, or navigationBar delegate set up incorrectly. Inconsistent configuration may cause problems. navigationController=<UINavigationController: 0x16081da00>, navigationBar=<UINavigationBar: 0x15f907e90; frame = (0 47; 0 50); opaque = NO; autoresize = W; layer = <CALayer: 0x6000016f1ce0>> delegate=0x16081da00.
In cause of this problem at the end of the project, when I ran the app, I can see the navbar but can't see any tableview and data. What I need to do to fix this problem?

Ответить
Abdurakhmon Jamoliddinov
Abdurakhmon Jamoliddinov - 01.08.2022 16:20

there's a lot of little things apart from the main topic, that's nice

Ответить
sukycar1
sukycar1 - 02.05.2022 10:20

Good example, thanks

Ответить
Valery Nevzorov
Valery Nevzorov - 15.02.2022 18:49

Thanks. It will be great if you make a video where you create one app with a different design patterns.

Ответить
Junaid Kamoka
Junaid Kamoka - 11.02.2022 08:19

Thanks..
Difference btw MVVM and MVP

Ответить
Paulo Rodrigues
Paulo Rodrigues - 21.12.2021 06:55

Make a vídeo with vip/clean swift architecture please?!!

Ответить
Ihor Fedii
Ihor Fedii - 01.12.2021 14:59

Thank!!!

Ответить
Chaudhry Umair
Chaudhry Umair - 27.10.2021 22:31

i believe if the UI related things could stay in ViewController class because the end result is that we want to separate functionalities (UIKIT relates to ViewController/View , presenter for business logic and model is as per its name) . Resr depends on personal choice
Regards

Ответить
Null and Void
Null and Void - 26.10.2021 18:40

Presentor should not contain Uikit

Ответить
Ryan Kanno
Ryan Kanno - 13.10.2021 08:11

Definitely prefer MVP over VIP or VIPER.

Ответить
Ljubisa Katana
Ljubisa Katana - 14.09.2021 15:25

Awesome explanation :) May I suggest a vip pattern as well?

Ответить
Денис
Денис - 05.09.2021 16:30

I feel like I'm at the level on which it's way easier to read documentation then watch.

Ответить
MUHAMMAD IKMAL AZMAN
MUHAMMAD IKMAL AZMAN - 04.09.2021 16:17

Thank you for the video, now I understand more about MVP pattern, can wait to apply this pattern instead of MVC haha 😆

Ответить
Денис
Денис - 31.08.2021 22:10

Nothingness, zero, nil, null, nothing, void, that's how I describe how I understand the difference between MVC and MVP.

Ответить
jaqb17
jaqb17 - 11.08.2021 12:31

soooo basically its VIPER without an interactor and router?

Ответить
Ian Fagundes
Ian Fagundes - 28.07.2021 04:41

Amazing very good explanation. I could understand, it made things looks simple 😊
Thank you

Ответить
Irene Qiao
Irene Qiao - 11.07.2021 23:27

Thanks for the explanation and demo! Very helpful

Ответить
Nalinda Wickramarathna
Nalinda Wickramarathna - 11.07.2021 11:37

Good content, Thanks.
But how we can test the business logic layer (presenter) with unit test. Can someone help?

Ответить
Orz Han
Orz Han - 23.06.2021 18:15

I have a question. Why your MVP presenter do the same work as MVC Model?

Ответить
Orz Han
Orz Han - 23.06.2021 17:04

Presenter do the same work as Model in MVC.

Ответить
Jack
Jack - 04.06.2021 09:15

how to create MVP in swiftUI?

Ответить
Govind Suryawanshi
Govind Suryawanshi - 25.05.2021 00:09

Really nice ..!

Ответить
Joakim Hellgren
Joakim Hellgren - 11.05.2021 18:33

Your content is as always really insightful, but I’m confused over this video... doesn’t importing UIKit in the presenter break the rule of keeping the presenter completely agnostic, or is this considered as an accepted practice?

Ответить
Nurlan Akylbekov
Nurlan Akylbekov - 22.04.2021 21:34

Great tutorial as always🔥. The idea for the next videos is maybe server-side-swift? Docker, Vapor, Kaitura? What is Moya🤔?

Ответить
Jose Manuel FG
Jose Manuel FG - 18.04.2021 01:41

I had a discussion about who was an artist, and almost everyone said writers, singers, dancers, ...., it's a pity that there's no too much people able to recognize the art of doing something like you do in this tutorial.... for me it's real art...

Ответить
Adnan Khan
Adnan Khan - 16.04.2021 22:04

Man.. that's really great video... 😇😇

Ответить
Eric
Eric - 16.04.2021 05:08

Is that not a memory leak with the controller referencing the presenter and the presenter referencing the controller?

Ответить
ReV_Kous92
ReV_Kous92 - 14.04.2021 22:33

Waiting for Clean Swift architecture.

Ответить
Pebiwhiper
Pebiwhiper - 14.04.2021 21:05

Thanks, waiting for another's Design Patterns
Clean Swift + MVVM...

Ответить
Samir Rana
Samir Rana - 14.04.2021 20:38

Nice tutorial!!

Ответить
Glenn Adams
Glenn Adams - 14.04.2021 19:43

How prevalent is this pattern in IOS dev ? I have seen it in .NET frequently.

Ответить
곽명섭
곽명섭 - 14.04.2021 19:40

Thanks for the great tutorial!

Ответить
Ouroboros
Ouroboros - 14.04.2021 19:01

This guy is helping us a lot, don't just watch, let's comment and follow so the channel can grow and he can keep doing great material for us.

Ответить
hùng phạm
hùng phạm - 14.04.2021 18:08

I don't understand why you code " & " in " UserPresenterDelegate & UIViewController ". Could you explain or give me keyword for that ?

Ответить
Se7enzZ
Se7enzZ - 14.04.2021 17:11

VIPER, MVP 😊. I learnt a lot from your videos, thanks ❤️

Ответить
dinesh reddy
dinesh reddy - 14.04.2021 16:42

Lovely, thanks a lot for explaining MVP in a simple way. This was a lot helpful. Keep the good work. Cheers !!!

Ответить
IOS Plus
IOS Plus - 14.04.2021 16:20

Hello, Good Job really thanks, but I have some concerns, is it good to import UIkit at the presenter? what I mean is that the view controller only should Import UIKit to deal with the view.
2- the view Controller shouldn't include the user Model it should just display data so the table view configuration is better to be done at the presenter.

Ответить
ASMR CLUB
ASMR CLUB - 14.04.2021 15:18

First

Ответить