---
title: alternateTitle
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsbuttoncell/alternatetitle
---

# alternateTitle

The string displayed by the button when it’s in its alternate state.

## Declaration

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

## Discussion

Discussion The value of this property is the string that appears on the button when it’s in its alternate state, or the empty string if the button doesn’t display an alternate title. Note that some button types don’t display an alternate title. By default, a button’s alternate title is “Button.”

## See Also

### Related Documentation

- [font](appkit/nscell/font.md)
- [setButtonType(_:)](appkit/nsbuttoncell/setbuttontype(_:).md)

### Setting Titles

- [attributedAlternateTitle](appkit/nsbuttoncell/attributedalternatetitle.md)
- [attributedTitle](appkit/nsbuttoncell/attributedtitle.md)
- [title](appkit/nsbuttoncell/title.md)
