【发布时间】:2014-04-16 08:35:38
【问题描述】:
这是 NSTableView 中顶部可见行完全可见的结果:
======
rowAtPoint: -> 0
rowAtPoint: -> 0
------
rowAtPoint: -> 1
rowAtPoint: -> 1
------
但是当 NSTableView 处于顶部可见行仅部分可见的滚动位置时,我会得到这种结果:
======
rowAtPoint: -> 0
------
rowAtPoint: -> 0 should be 1
rowAtPoint: -> 1
------
rowAtPoint: -> 1 should be 2
rowAtPoint: -> 2
------
我是否误解了 rowAtPoint: 的目的?
【问题讨论】:
标签: cocoa nstableview