This repository has been archived by the owner on Jan 22, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
读 『如何写好一个UITableView』 #2
Labels
Comments
读 『如何写好一个UITableView』一、痛点
二、MVC
三、传统的做法现状Controller 中实现 delegate 和 dataSource 方法,管理 UI 和数据、交互。
数据源总共有以下几类方法:
其中两个最常用的方法:
代理总共有以下几类方法:
其中以下几个方法最常用:
四、优化1. 数据源
2. 代理
3.如何将上面针对数据源和代理的优化串联起来
4. 成果
5. 下一步
五、网络层1. 为什么需要网络层
2. 三个环节
3. 实现
4. 实践
六、下拉刷新和上拉加载更多1. 两个问题
2.实现
七、总结
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
这篇文章主要讲解了如何写好一个列表这个最熟悉的主题,分别讨论了以下几个问题:
核心问题是如何减轻业务方的负责。
The text was updated successfully, but these errors were encountered: