<!--
{
  "documentType" : "article",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/nsstatusitem-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 methods

[`func sendAction(on: NSEvent.EventTypeMask) -> Int`](/documentation/AppKit/NSStatusItem/sendAction(on:))

Sets the conditions on which the status item sends action messages to its target.

[`func popUpMenu(NSMenu)`](/documentation/AppKit/NSStatusItem/popUpMenu(_:))

Displays a menu under a custom status bar item.

[`func drawStatusBarBackground(in: NSRect, withHighlight: Bool)`](/documentation/AppKit/NSStatusItem/drawStatusBarBackground(in:withHighlight:))

Draws the menu background pattern for a custom status-bar item in regular or highlight pattern.

### Deprecated properties

[`var isEnabled: Bool`](/documentation/AppKit/NSStatusItem/isEnabled)

A Boolean that indicates whether the status item is enabled to respond to clicks.

[`var doubleAction: Selector?`](/documentation/AppKit/NSStatusItem/doubleAction)

The selector that is sent to the status item’s target when the status item is double-clicked.

[`var title: String?`](/documentation/AppKit/NSStatusItem/title)

The string that is displayed at the status item’s position in the status bar.

[`var attributedTitle: NSAttributedString?`](/documentation/AppKit/NSStatusItem/attributedTitle)

The attributed string that is displayed at the status item’s position in the status bar.

[`var image: NSImage?`](/documentation/AppKit/NSStatusItem/image)

The image that is displayed at the status item’s position in the status bar.

[`var alternateImage: NSImage?`](/documentation/AppKit/NSStatusItem/alternateImage)

The alternate image to be displayed when a status bar item is highlighted.

[`var highlightMode: Bool`](/documentation/AppKit/NSStatusItem/highlightMode)

A Boolean that indicates whether the status item is highlighted when it is clicked.

[`var toolTip: String?`](/documentation/AppKit/NSStatusItem/toolTip)

The tool tip string that is displayed when the cursor pauses over the status item.



---

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)