- 博客(1)
- 收藏
- 关注
原创 iOS之Cell工厂解决多种cell的困扰
在开发过程中经常遇到tabView中包含多种样式的cell,这里介绍一种cell工厂模式 下面示例中含有示图的三种cell 1. 创建model基类BaseModel 和子类 OneModel TwoModel ThreeModel 在BaseModel 中 创建对应model + (instancetype)initWit
2016-01-22 20:51:30
6047
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人