128

隔离 View 和 Model (Swift)

 5 years ago
source link: https://zhuanlan.zhihu.com/p/36847117?
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.
简评:我们经常需要在编写 方便的代码 和 易于维护的代码 之间取得平衡,当然如果能兼顾两者是最好的。在平衡便利性和可维护性时,往往会遇到 View 和 Model 需要建立联系的情况,如果 View 和 Model 建立太强的连…

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK