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

[`convenience init(image: NSImage, foregroundColorHint: NSColor?, backgroundColorHint: NSColor?, hotSpot: NSPoint)`](/documentation/AppKit/NSCursor/init(image:foregroundColorHint:backgroundColorHint:hotSpot:))

Initializes the cursor with the specified image and hot spot.

[`func mouseEntered(with: NSEvent)`](/documentation/AppKit/NSCursor/mouseEntered(with:))

Automatically sent to the receiver when the cursor enters a cursor rectangle owned by the receiver.

[`func setOnMouseEntered(Bool)`](/documentation/AppKit/NSCursor/setOnMouseEntered(_:))

Specifies whether the receiver accepts [`mouseEntered(with:)`](/documentation/AppKit/NSCursor/mouseEntered(with:)) events.

[`func mouseExited(with: NSEvent)`](/documentation/AppKit/NSCursor/mouseExited(with:))

Automatically sent to the receiver when the cursor exits a cursor rectangle owned by the receiver.

[`func setOnMouseExited(Bool)`](/documentation/AppKit/NSCursor/setOnMouseExited(_:))

Sets whether the receiver accepts [`mouseExited(with:)`](/documentation/AppKit/NSCursor/mouseExited(with:)) events.

### Deprecated properties

[`class var currentSystem: NSCursor?`](/documentation/AppKit/NSCursor/currentSystem)

Returns the current system cursor.

[`class var resizeDown: NSCursor`](/documentation/AppKit/NSCursor/resizeDown)

Returns the resize-down system cursor.

[`class var resizeLeft: NSCursor`](/documentation/AppKit/NSCursor/resizeLeft)

Returns the resize-left system cursor.

[`class var resizeLeftRight: NSCursor`](/documentation/AppKit/NSCursor/resizeLeftRight)

Returns the resize-left-and-right system cursor.

[`class var resizeRight: NSCursor`](/documentation/AppKit/NSCursor/resizeRight)

Returns the resize-right system cursor.

[`class var resizeUp: NSCursor`](/documentation/AppKit/NSCursor/resizeUp)

Returns the resize-up system cursor.

[`class var resizeUpDown: NSCursor`](/documentation/AppKit/NSCursor/resizeUpDown)

Returns the resize-up-and-down system cursor.

[`var isSetOnMouseEntered: Bool`](/documentation/AppKit/NSCursor/isSetOnMouseEntered)

A Boolean value indicating whether the receiver becomes current on receiving a [`mouseEntered(with:)`](/documentation/AppKit/NSCursor/mouseEntered(with:)) message.

[`var isSetOnMouseExited: Bool`](/documentation/AppKit/NSCursor/isSetOnMouseExited)

A Boolean value indicating whether the receiver becomes current when it receives a [`mouseExited(with:)`](/documentation/AppKit/NSCursor/mouseExited(with:)) message.



---

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)