Architecting iOS Apps

2017-07-04  本文已影响0人  John易筋

Architecting iOS Apps

1、MVC

2、VIPER

What is VIPER?

VIPER is an application of Clean Architecture to iOS apps. The word VIPER is a backronym for View, Interactor, Presenter, Entity, and Routing. Clean Architecture divides an app’s logical structure into distinct layers of responsibility. This makes it easier to isolate dependencies (e.g. your database) and to test the interactions at the boundaries between layers:


Main Parts of VIPER are:

Reference:

3、MVVM

上一篇 下一篇

猜你喜欢

热点阅读