AhmAbdallah / MVPExample

The most design pattern that used by iOS developers is MVC, because with using it you can develop an app with the fast way but you will face some problems related to testability in the future, so let us try a new one like the MVP Design Pattern?

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MVPExample

The most design pattern that used by iOS developers is MVC, because with using it you can develop an app with the fast way but you will face some problems related to testability in the future, so let us try a new one like the MVP Design Pattern?

whats the meaning of MVP :-

M => Model is a normal model like MVC.

V => its little tricky because its meaning the View or the ViewController or all of them.

p => presenter responsible for reciving data from user during the View and proccing it by using the model, presenter communicate with the view by using Interface that define in the presenter side.

The main preinciple of MVP id hidding the business side from the view side.

alt text

About

The most design pattern that used by iOS developers is MVC, because with using it you can develop an app with the fast way but you will face some problems related to testability in the future, so let us try a new one like the MVP Design Pattern?

License:MIT License


Languages

Language:Swift 100.0%