Returns a range of indexes for the rows that lie wholly or partially within the vertical boundaries of the specified rectangle.
- macOS 10.0+
A rectangle in the coordinate system of the table view.
A range of indexes for the table view’s rows that lie wholly or partially within the horizontal boundaries of
a. If the width or height of
0, this method returns an
NSRange whose length is
The location of the range is the index of the first row in the rectangle, and the length is the number of rows that lie in the rectangle.