- 第一篇是 How to integrate RxSwift in your MVVM architecture - benoitpasquier.com 主要介绍了如何使用 RxSwift 编写 MVVM 结构的代码 - 第二篇是 RxSwift & MVVM - An alternative structure for your ViewModel - benoitpasquier.com 主要描述了一个 ViewModel 最基本的结构要怎么设计,我个人特别喜欢他在文中描述的 Intput 和 Output 的设计。这个设计也是为做单元测试做了一个很好的铺垫。 - 最后一是 RxSwift & MVVM - How to use RxTests to test your ViewModel - benoitpasquier.com 讲的是如何利用前面的 VM 设计 结合 RxTest 编写单元测试。