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

# attributedAlternateTitle

The title that the button displays as an attributed string when the button is in an on state.

```
@NSCopying var attributedAlternateTitle: NSAttributedString { get set }
```

## Discussion

This property contains the string that appears on the button when it’s in an on state, as an `NSAttributedString`, or the empty string if the button doesn’t display an alternate title. By default, a button’s alternate title is Button.

---

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)