getRow(_:column:for:)
Gets the row and column coordinates for the specified point, if a cell exists at that point.
Declaration
func getRow(_ row: UnsafeMutablePointer<Int>?, column: UnsafeMutablePointer<Int>?, for point: NSPoint) -> BoolParameters
- row:
On output, the row number of the cell at the specified point, or
-1if there is no cell at the point. - column:
On output, he column number of the cell at the specified point, or
-1if there is no cell at the point. - point:
The point to test.
Return Value
true if a cell exists at the specified point; otherwise, false.
Discussion
If a row does not exist at point, then -1 is set for the row. If a column does not exist at point, then -1 is set for the column.