---
title: attributedTitle
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nswindowtab/attributedtitle
---

# attributedTitle

The title for the window tab, specified as an attributed string.

## Declaration

```swift
@NSCopying var attributedTitle: NSAttributedString? { get set }
```

## Discussion

Discussion If you provide an attributed title, the window tab uses all of the attributes that are explicitly provided in the attributed string. Attributes that are left unspecified, including the font and foreground color, are automatically filled in using default values appropriate for the window tab. If the attributedTitle property is nil, the window tab uses the title property instead. The default value is nil.

## See Also

### Customizing the Title

- [title](appkit/nswindowtab/title.md)
