Skip to content

Latest commit

 

History

History
25 lines (12 loc) · 1.15 KB

File metadata and controls

25 lines (12 loc) · 1.15 KB

VIPER

viper

  • "V", View: displays what it is told to by the Presenter and relays user input back to the Presenter.

  • "I", Interactor: contains the business logic as specified by a use case.

  • "P", Presenter: contains view logic for preparing content for display (as received from the Interactor) and for reacting to user inputs (by requesting new data from the Interactor).

  • "E", Entity: contains basic model objects used by the Interactor.

  • "R", Routing: contains navigation logic for describing which screens are shown in which order.

VIP vs VIPER

Разница между VIP и VIPER - полярность. VIP - однополярный роутер. VIPER - двух полярный роутер.

Viper vs VIP


2.4.2.2.3 VIP Theme | Back To iOSWiki Contents | 2.4.3 Design Pattern Theme Folder