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

[`+ (CGFloat) scrollerWidth;`](/documentation/AppKit/NSScroller/scrollerWidth)

Returns the width for scrollers of the receiving class, assuming a control size [`NSRegularControlSize`](/documentation/AppKit/NSRegularControlSize), and a scroller style of [`NSScroller.Style.legacy`](/documentation/AppKit/NSScroller/Style/legacy).

[`+ (CGFloat) scrollerWidthForControlSize:(NSControlSize) controlSize;`](/documentation/AppKit/NSScroller/scrollerWidthForControlSize:)

Returns the width of the scroller based on `controlSize` and assuming a scroller style of [`NSScroller.Style.legacy`](/documentation/AppKit/NSScroller/Style/legacy).

[`- (void) setFloatValue:(float) value knobProportion:(CGFloat) proportion;`](/documentation/AppKit/NSScroller/setFloatValue:knobProportion:)

Sets the position of the knob to `aFloat`, which is a value from 0.0 (indicating the top or left end) to 1.0 (the bottom or right end).

[`func drawArrow(NSScroller.Arrow, highlight: Bool)`](/documentation/AppKit/NSScroller/drawArrow(_:highlight:))

Draws the scroll button indicated by `arrow`, which is either `NSScrollerIncrementArrow` (the down or right scroll button) or `NSScrollerDecrementArrow` (up or left).

[`- (void) drawParts;`](/documentation/AppKit/NSScroller/drawParts)

Caches images for the scroll buttons and knob.

[`func highlight(Bool)`](/documentation/AppKit/NSScroller/highlight(_:))

Highlights or unhighlights the scroll button the user clicked.

[`func trackScrollButtons(with: NSEvent)`](/documentation/AppKit/NSScroller/trackScrollButtons(with:))

Tracks the scroll buttons and sends action messages to the receiver’s target.

### Deprecated properties

[`var arrowsPosition: NSScroller.ArrowPosition`](/documentation/AppKit/NSScroller/arrowsPosition)

The location of the scroll buttons within the scroller, as described in [`NSScroller.ArrowPosition`](/documentation/AppKit/NSScroller/ArrowPosition).

[`var controlTint: NSControlTint`](/documentation/AppKit/NSScroller/controlTint)

The scroller’s control tint.

### Deprecated enumerations

[`enum Arrow`](/documentation/AppKit/NSScroller/Arrow)

These constants describe the two scroller buttons and are used by [`drawArrow(_:highlight:)`](/documentation/AppKit/NSScroller/drawArrow(_:highlight:)).

[`enum ArrowPosition`](/documentation/AppKit/NSScroller/ArrowPosition)

These constants specify where the scroller’s buttons appear and are used by the [`arrowsPosition`](/documentation/AppKit/NSScroller/arrowsPosition) property.



---

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)