<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSBrowser/setTitle(_:ofColumn:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSBrowser(im)setTitle:ofColumn:"
  },
  "title" : "setTitle(_:ofColumn:)"
}
-->

# setTitle(_:ofColumn:)

Sets the title of the given column.

```
func setTitle(_ string: String, ofColumn column: Int)
```

## Parameters

`string`

The title of the column.

`column`

The index of the column whose title should be set.

## Discussion

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)