---
title: "column(of:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsbrowser/column(of:)"
---

# column(of:)

Returns the column number in which the given matrix is located.

## Declaration

```swift
func column(of matrix: NSMatrix) -> Int
```

## Parameters

- `matrix`: The matrix for which to return the column number.

## Return Value

Return Value The index of the column in which the specified matrix appears.

## See Also

### Deprecated

- [matrix(inColumn:)](appkit/nsbrowser/matrix(incolumn:).md)
- [matrixClass()](appkit/nsbrowser/matrixclass().md)
- [setMatrixClass(_:)](appkit/nsbrowser/setmatrixclass(_:).md)
