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

# getRow(_:column:of:)

Searches the receiver for the specified cell and returns the row and column of the cell

## Declaration

```swift
func getRow(_ row: UnsafeMutablePointer<Int>, column col: UnsafeMutablePointer<Int>, of cell: NSCell) -> Bool
```

## Parameters

- `row`: On return, the row in which the cell is located.
- `col`: On return, the column in which the cell is located.
- `cell`: The cell to locate within the matrix.

## Return Value

Return Value true if the cell is one of the cells in the receiver, false otherwise.

## Discussion

Discussion .

## See Also

### Finding Matrix Coordinates

- [getRow(_:column:for:)](appkit/nsmatrix/getrow(_:column:for:).md)
