<!--
{
  "documentType" : "article",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/buttontype-deprecated-symbols",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Deprecated symbols"
}
-->

# Deprecated symbols

Review symbols that are no longer in active development, and their recommended replacements.

## Overview

Although these symbols are available for use, Apple is no longer actively developing them, and may remove them in a future release. Apple recommends moving away from these symbols and using their indicated replacements instead. Check the individual symbol pages for the recommended replacements.

## Topics

### Deprecated constants

[`static const NSButtonType NSMomentaryLightButton;`](/documentation/AppKit/NSMomentaryLightButton)

When the button is clicked (on state), it appears illuminated. If the button has borders, it may also appear recessed. When the button is released, it returns to its normal (off) state.

[`static const NSButtonType NSPushOnPushOffButton;`](/documentation/AppKit/NSPushOnPushOffButton)

When the button is clicked (on state), it appears illuminated. If the button has borders, it may also appear recessed. A second click returns it to its normal (off) state.

[`static const NSButtonType NSToggleButton;`](/documentation/AppKit/NSToggleButton)

After the first click, the button displays its alternate image or title (on state); a second click returns the button to its normal (off) state.

[`static const NSButtonType NSSwitchButton;`](/documentation/AppKit/NSSwitchButton)

This style is a variant of `NSToggleButton` that has no border and is typically used to represent a checkbox.

[`static const NSButtonType NSRadioButton;`](/documentation/AppKit/NSRadioButton)

This style is similar to `NSSwitchButton`, but it is used to constrain a selection to a single element from several elements.

[`static const NSButtonType NSMomentaryChangeButton;`](/documentation/AppKit/NSMomentaryChangeButton)

When the button is clicked, the alternate (on state) image and alternate title are displayed.

[`static const NSButtonType NSOnOffButton;`](/documentation/AppKit/NSOnOffButton)

The first click highlights the button; a second click returns it to the normal (unhighlighted) state.

[`static const NSButtonType NSAcceleratorButton;`](/documentation/AppKit/NSAcceleratorButton)

A button that sends an action when the user first clicks the button and continues sending actions until the user releases pressure entirely.

[`static const NSButtonType NSMultiLevelAcceleratorButton;`](/documentation/AppKit/NSMultiLevelAcceleratorButton)

A multilevel accelerator button is a variation of a normal accelerator button that allows for a configurable number of stepped pressure levels. As each one is reached, the user receives light tactile feedback and an action is sent.

[`static const NSButtonType NSMomentaryPushInButton;`](/documentation/AppKit/NSMomentaryPushInButton)

When the user clicks the button (on state), the button appears illuminated.

[`static const NSButtonType NSMomentaryPushButton;`](/documentation/AppKit/NSMomentaryPushButton)

When the button is clicked (on state), it appears illuminated. If the button has a bordered, it may also appear recessed. When the button is released, it returns to its normal (off) state.

[`static const NSButtonType NSMomentaryLight;`](/documentation/AppKit/NSMomentaryLight)

When the button is clicked (on state), it appears illuminated.



---

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)