53

iOS中的VIPER和MVC,MVVM 架构之间的比较 - 简书

 6 years ago
source link: https://www.jianshu.com/p/b70a1c2d8138?
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
前言谁不希望自己写的代码像美女一样养眼,那我们聊聊架构吧,学好了架构才能让别的程序员"干"的爽 一). iOS架构的分类 在iOS中架构有很多,最常用的MVC,MVVM,MVP, 不常用的有VIPER 1.1)传统的MVC的架构是这样的: 上面是传统的MVC的架构虽说耦合极端严重,这也是在项目中非常常见的一种架构形式,很多公司在使用这个模式,三个实体间相互都有通信,而且是紧密耦合的。这很显...

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK