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

[`- (void) setKnobThickness:(CGFloat) thickness;`](/documentation/AppKit/NSSlider/setKnobThickness:)

[`- (void) setImage:(NSImage *) backgroundImage;`](/documentation/AppKit/NSSlider/setImage:)

Sets the image the slider displays in the bar behind its knob.

[`- (NSImage *) image;`](/documentation/AppKit/NSSlider/image)

Returns `nil`.

[`- (NSString *) title;`](/documentation/AppKit/NSSlider/title)

Returns the slider’s title.

[`- (id) titleCell;`](/documentation/AppKit/NSSlider/titleCell)

This method has been deprecated. Returns `nil`.

[`- (NSColor *) titleColor;`](/documentation/AppKit/NSSlider/titleColor)

This method has been deprecated. Returns `nil`.

[`- (NSFont *) titleFont;`](/documentation/AppKit/NSSlider/titleFont)

This method has been deprecated. Returns `nil`.

[`- (void) setTitle:(NSString *) string;`](/documentation/AppKit/NSSlider/setTitle:)

Sets the title the slider displays in the bar behind its knob.

[`- (void) setTitleCell:(NSCell *) cell;`](/documentation/AppKit/NSSlider/setTitleCell:)

Sets the cell used to draw the slider’s title.

[`- (void) setTitleColor:(NSColor *) newColor;`](/documentation/AppKit/NSSlider/setTitleColor:)

Sets the color used to draw the slider’s title.

[`- (void) setTitleFont:(NSFont *) fontObj;`](/documentation/AppKit/NSSlider/setTitleFont:)

Sets the font used to draw the slider’s title.



---

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)