---
title: "getRow(_:column:for:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsbrowser/getrow(_:column:for:)"
---

# getRow(_:column:for:)

Gets the row and column coordinates for the specified point, if a cell exists at that point.

## Declaration

```swift
func getRow(_ row: UnsafeMutablePointer<Int>?, column: UnsafeMutablePointer<Int>?, for point: NSPoint) -> Bool
```

## Parameters

- `row`: On output, the row number of the cell at the specified point, or -1 if there is no cell at the point.
- `column`: On output, he column number of the cell at the specified point, or -1 if there is no cell at the point.
- `point`: The point to test.

## Return Value

Return Value true if a cell exists at the specified point; otherwise, false.

## Discussion

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.

## See Also

### Getting Row Frames

- [frame(ofRow:inColumn:)](appkit/nsbrowser/frame(ofrow:incolumn:).md)
