简体中文
外观
NSIndexPath
row
row 属性和 item 是同一个数。Apple 的表格文档里叫 row。
item
非负整数。
TypeError
const path = new NSIndexPath(2, 5); console.log(path.row);
结果:输出 5。
5
NSIndexPath.row。
NSIndexPath.row