<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSSlider/TickMarkPosition-swift.enum",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@E@NSTickMarkPosition"
  },
  "title" : "NSSlider.TickMarkPosition"
}
-->

# NSSlider.TickMarkPosition

The position where a linear slider’s tick marks appear (above, below, leading, or trailing).

```
enum TickMarkPosition
```

## Overview

Use these constants for setting [`tickMarkPosition`](/documentation/AppKit/NSSliderCell/tickMarkPosition).

## Topics

### Configuring Horizontal Sliders

[`NSSlider.TickMarkPosition.below`](/documentation/AppKit/NSSlider/TickMarkPosition-swift.enum/below)

A constant indicating that tick marks are displayed below the slider.

[`NSSlider.TickMarkPosition.above`](/documentation/AppKit/NSSlider/TickMarkPosition-swift.enum/above)

A constant indicating that tick marks are displayed above the slider.

### Configuring Vertical Sliders

[`leading`](/documentation/AppKit/NSSlider/TickMarkPosition-swift.enum/leading)

A constant indicating that tick marks are displayed on the leading side of the slider.

[`trailing`](/documentation/AppKit/NSSlider/TickMarkPosition-swift.enum/trailing)

A constant indicating that tick marks are displayed on the trailing side of the slider.

### Constants

[`NSTickMarkBelow`](/documentation/AppKit/NSTickMarkBelow)

[`NSTickMarkAbove`](/documentation/AppKit/NSTickMarkAbove)

[`NSTickMarkLeft`](/documentation/AppKit/NSTickMarkLeft)

[`NSTickMarkRight`](/documentation/AppKit/NSTickMarkRight)



---

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)