<!--
{
  "availability" : [
    "macOS: 10.13.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSWindowTab/title",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSWindowTab(py)title"
  },
  "title" : "title"
}
-->

# title

The title for the window tab.

```
var title: String! { get set }
```

## Discussion

The title displays within the window tab when the associated window is part of a tabbing group.

By default, the title of the window tab follows the title of its associated window, but it may be customized using the [`title`](/documentation/AppKit/NSWindowTab/title) property. If the title has been customized, setting the [`title`](/documentation/AppKit/NSWindowTab/title) property to <doc://com.apple.documentation/documentation/ObjectiveC/nil-227m0> causes it to follow the window’s title again.

---

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)