• UITableView 接口的调用顺序


    ios7启用estimatedHeightForRowAtIndexPath之后的api调用顺序
    called -[XHYTableViewController tableView:heightForRowAtIndexPath:] at 0.6
    called -[XHYTableViewController tableView:makeCellForRowAtIndexPath:] at 0.6
    called -[XHYTableViewController tableView:heightForRowAtIndexPath:] at 0.5
    called -[XHYTableViewController tableView:makeCellForRowAtIndexPath:] at 0.5
    called -[XHYTableViewController tableView:heightForRowAtIndexPath:] at 0.4
    called -[XHYTableViewController tableView:makeCellForRowAtIndexPath:] at 0.4
    called -[XHYTableViewController tableView:heightForRowAtIndexPath:] at 0.3
    called -[XHYTableViewController tableView:makeCellForRowAtIndexPath:] at 0.3
    called -[XHYTableViewController tableView:heightForRowAtIndexPath:] at 0.2
    called -[XHYTableViewController tableView:makeCellForRowAtIndexPath:] at 0.2
    called -[XHYTableViewController tableView:heightForRowAtIndexPath:] at 0.1
    called -[XHYTableViewController tableView:makeCellForRowAtIndexPath:] at 0.1
    called -[XHYTableViewController tableView:heightForRowAtIndexPath:] at 0.0
    called -[XHYTableViewController tableView:makeCellForRowAtIndexPath:] at 0.0
    called -[XHYTableViewController tableView:heightForRowAtIndexPath:] at 0.7
    called -[XHYTableViewController tableView:makeCellForRowAtIndexPath:] at 0.7
    called -[XHYTableViewController tableView:cellForRowAtIndexPath:] at 0.0
    called -[XHYTableViewController tableView:makeCellForRowAtIndexPath:] at 0.0
    called -[XHYTableViewController tableView:cellForRowAtIndexPath:] at 0.1
    called -[XHYTableViewController tableView:makeCellForRowAtIndexPath:] at 0.1
    called -[XHYTableViewController tableView:cellForRowAtIndexPath:] at 0.2
    called -[XHYTableViewController tableView:makeCellForRowAtIndexPath:] at 0.2
    called -[XHYTableViewController tableView:cellForRowAtIndexPath:] at 0.3
    called -[XHYTableViewController tableView:makeCellForRowAtIndexPath:] at 0.3
    called -[XHYTableViewController tableView:cellForRowAtIndexPath:] at 0.4
    called -[XHYTableViewController tableView:makeCellForRowAtIndexPath:] at 0.4
    called -[XHYTableViewController tableView:cellForRowAtIndexPath:] at 0.5
    called -[XHYTableViewController tableView:makeCellForRowAtIndexPath:] at 0.5
    called -[XHYTableViewController tableView:cellForRowAtIndexPath:] at 0.6
    called -[XHYTableViewController tableView:makeCellForRowAtIndexPath:] at 0.6
    called -[XHYTableViewController tableView:cellForRowAtIndexPath:] at 0.5
    called -[XHYTableViewController tableView:makeCellForRowAtIndexPath:] dequeue at 0.5
    called -[XHYTableViewController tableView:cellForRowAtIndexPath:] at 0.6
    called -[XHYTableViewController tableView:makeCellForRowAtIndexPath:] dequeue at 0.6
    called -[XHYTableViewController tableView:cellForRowAtIndexPath:] at 0.0
    called -[XHYTableViewController tableView:makeCellForRowAtIndexPath:] dequeue at 0.0
    called -[XHYTableViewController tableView:cellForRowAtIndexPath:] at 0.4
    called -[XHYTableViewController tableView:makeCellForRowAtIndexPath:] dequeue at 0.4

    ios8启用estimatedHeightForRowAtIndexPath之后的api调用顺序
    called -[XHYTableViewController tableView:cellForRowAtIndexPath:] at 0.0
    called -[XHYTableViewController tableView:makeCellForRowAtIndexPath:] at 0.0
    called -[XHYTableViewController tableView:heightForRowAtIndexPath:] at 0.0
    called -[XHYTableViewController tableView:cellForRowAtIndexPath:] at 0.1
    called -[XHYTableViewController tableView:makeCellForRowAtIndexPath:] at 0.1
    called -[XHYTableViewController tableView:heightForRowAtIndexPath:] at 0.1
    called -[XHYTableViewController tableView:cellForRowAtIndexPath:] at 0.2
    called -[XHYTableViewController tableView:makeCellForRowAtIndexPath:] at 0.2
    called -[XHYTableViewController tableView:heightForRowAtIndexPath:] at 0.2
    called -[XHYTableViewController tableView:cellForRowAtIndexPath:] at 0.3
    called -[XHYTableViewController tableView:makeCellForRowAtIndexPath:] at 0.3
    called -[XHYTableViewController tableView:heightForRowAtIndexPath:] at 0.3
    called -[XHYTableViewController tableView:cellForRowAtIndexPath:] at 0.4
    called -[XHYTableViewController tableView:makeCellForRowAtIndexPath:] at 0.4
    called -[XHYTableViewController tableView:heightForRowAtIndexPath:] at 0.4
    called -[XHYTableViewController tableView:cellForRowAtIndexPath:] at 0.5
    called -[XHYTableViewController tableView:makeCellForRowAtIndexPath:] at 0.5
    called -[XHYTableViewController tableView:heightForRowAtIndexPath:] at 0.5
    called -[XHYTableViewController tableView:cellForRowAtIndexPath:] at 0.6
    called -[XHYTableViewController tableView:makeCellForRowAtIndexPath:] at 0.6
    called -[XHYTableViewController tableView:heightForRowAtIndexPath:] at 0.6
    called -[XHYTableViewController tableView:cellForRowAtIndexPath:] at 0.7
    called -[XHYTableViewController tableView:makeCellForRowAtIndexPath:] at 0.7
    called -[XHYTableViewController tableView:heightForRowAtIndexPath:] at 0.7
    called -[XHYTableViewController tableView:cellForRowAtIndexPath:] at 0.8
    called -[XHYTableViewController tableView:makeCellForRowAtIndexPath:] at 0.8
    called -[XHYTableViewController tableView:heightForRowAtIndexPath:] at 0.8
    called -[XHYTableViewController tableView:cellForRowAtIndexPath:] at 0.9
    called -[XHYTableViewController tableView:makeCellForRowAtIndexPath:] at 0.9
    called -[XHYTableViewController tableView:heightForRowAtIndexPath:] at 0.9
    called -[XHYTableViewController tableView:cellForRowAtIndexPath:] at 0.10
    called -[XHYTableViewController tableView:makeCellForRowAtIndexPath:] at 0.10
    called -[XHYTableViewController tableView:heightForRowAtIndexPath:] at 0.10
    called -[XHYTableViewController tableView:cellForRowAtIndexPath:] at 0.11
    called -[XHYTableViewController tableView:makeCellForRowAtIndexPath:] at 0.11
    called -[XHYTableViewController tableView:heightForRowAtIndexPath:] at 0.11
    called -[XHYTableViewController tableView:cellForRowAtIndexPath:] at 0.12
    called -[XHYTableViewController tableView:makeCellForRowAtIndexPath:] at 0.12
    called -[XHYTableViewController tableView:heightForRowAtIndexPath:] at 0.12
    called -[XHYTableViewController tableView:cellForRowAtIndexPath:] at 0.13
    called -[XHYTableViewController tableView:makeCellForRowAtIndexPath:] at 0.13
    called -[XHYTableViewController tableView:heightForRowAtIndexPath:] at 0.13
    called -[XHYTableViewController tableView:cellForRowAtIndexPath:] at 0.14
    called -[XHYTableViewController tableView:makeCellForRowAtIndexPath:] at 0.14
    called -[XHYTableViewController tableView:heightForRowAtIndexPath:] at 0.14
    called -[XHYTableViewController tableView:cellForRowAtIndexPath:] at 0.15
    called -[XHYTableViewController tableView:makeCellForRowAtIndexPath:] at 0.15
    called -[XHYTableViewController tableView:heightForRowAtIndexPath:] at 0.15
    called -[XHYTableViewController tableView:cellForRowAtIndexPath:] at 0.16
    called -[XHYTableViewController tableView:makeCellForRowAtIndexPath:] at 0.16
    called -[XHYTableViewController tableView:heightForRowAtIndexPath:] at 0.16
    called -[XHYTableViewController tableView:cellForRowAtIndexPath:] at 0.6
    called -[XHYTableViewController tableView:makeCellForRowAtIndexPath:] dequeue at 0.6
    called -[XHYTableViewController tableView:heightForRowAtIndexPath:] at 0.6
    called -[XHYTableViewController tableView:cellForRowAtIndexPath:] at 0.7
    called -[XHYTableViewController tableView:makeCellForRowAtIndexPath:] dequeue at 0.7
    called -[XHYTableViewController tableView:heightForRowAtIndexPath:] at 0.7
    called -[XHYTableViewController tableView:cellForRowAtIndexPath:] at 0.8
    called -[XHYTableViewController tableView:makeCellForRowAtIndexPath:] dequeue at 0.8
    called -[XHYTableViewController tableView:heightForRowAtIndexPath:] at 0.8
    called -[XHYTableViewController tableView:cellForRowAtIndexPath:] at 0.1
    called -[XHYTableViewController tableView:makeCellForRowAtIndexPath:] dequeue at 0.1
    called -[XHYTableViewController tableView:heightForRowAtIndexPath:] at 0.1
    called -[XHYTableViewController tableView:cellForRowAtIndexPath:] at 0.0
    called -[XHYTableViewController tableView:makeCellForRowAtIndexPath:] dequeue at 0.0
    called -[XHYTableViewController tableView:heightForRowAtIndexPath:] at 0.0
    called -[XHYTableViewController tableView:cellForRowAtIndexPath:] at 0.4
    called -[XHYTableViewController tableView:makeCellForRowAtIndexPath:] dequeue at 0.4
    called -[XHYTableViewController tableView:heightForRowAtIndexPath:] at 0.4
    called -[XHYTableViewController tableView:cellForRowAtIndexPath:] at 0.5
    called -[XHYTableViewController tableView:makeCellForRowAtIndexPath:] dequeue at 0.5
    called -[XHYTableViewController tableView:heightForRowAtIndexPath:] at 0.5

  • 相关阅读:
    JavaScript 随机产生十个整数,放入数组中,对这个数组进行降序排序,并获取到这个数组的最大值和最小值
    JavaScript输出换行
    JavaScript超时调用、间歇调用
    JavaScript内置对象
    JavaScript事件列表
    JavaScript 中 for-in和 for-of 的区别
    JavaScript break指定标签打破多层循环示例
    初识JavaScript
    HTML + CSS CSS设置背景图片后图片没有铺满屏幕等
    设计模式之工厂模式
  • 原文地址:https://www.cnblogs.com/decwang/p/4724502.html
Copyright © 2020-2023  润新知