原书出处
App 架构
03 Model-View-Controller
我们还可以使用这种模式在不同的 view controller 之间共享配置和布局代码。另外一个好处是,很容易看到,configure(for:) 现在不依赖于 view controller 的任何状态,所有的状态都是通过参数传递进去的,这样一来,cell 就很容易测试了。
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/App 架构/_epub-src/text/part0005_split_004.html
EPUB SHA-256:d979fd797d5aa49182efc0886f7b968d17def30c2cd5e2e0fe185f700e43fbda