---
title: subtitle
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nswindow/subtitle
---

# subtitle

A secondary line of text that appears in the title bar of the window.

## Declaration

```swift
var subtitle: String { get set }
```

## Discussion

Discussion When this property is an empty string, the system removes the subtitle from the window layout.

## See Also

### Managing Titles

- [title](appkit/nswindow/title.md)
- [titleVisibility](appkit/nswindow/titlevisibility-swift.property.md)
- [setTitleWithRepresentedFilename(_:)](appkit/nswindow/settitlewithrepresentedfilename(_:).md)
- [representedFilename](appkit/nswindow/representedfilename.md)
- [representedURL](appkit/nswindow/representedurl.md)
