UITableView的性能优化
- %d ---> int
- %zd ---> NSInteger
- %p ---> 对象的内存地址
- %@ ---> 对象本身
- 被static修饰的局部变量,在内存中只会被初始化一次,在程序运行过程中,只会分配一次内存
UITableViewCell
- cell的backgroundView优先级高于backgroundColor
自定义cell
- 等高的cell
- 非等高的cell
KVC
- Key Value Coding
本文标题:06-UITableView第2天
本文链接:https://www.haomeiwen.com/subject/xcdtlttx.html
网友评论