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

# NSScrubber.Mode

The scrolling behavior for a scrubber.

```
enum Mode
```

## Overview

Scrolling is either *fixed* or *free*. For details on how to choose the correct scrolling mode for your app, see [`Choose a scrubber touch-interaction model`](/documentation/AppKit/NSScrubber#Choose-a-scrubber-touch-interaction-model).

## Topics

### Constants

[`NSScrubberModeFixed`](/documentation/AppKit/NSScrubber/Mode-swift.enum/fixed)

A scrolling mode in which scrubber items remain fixed in place, and the item under the user’s finger is highlighted.

[`NSScrubberModeFree`](/documentation/AppKit/NSScrubber/Mode-swift.enum/free)

A scrolling mode in which the scrubber scrolls as the user swipes horizontally across the scrubber.

## Relationships

### Conforms To

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Equatable`](/documentation/Swift/Equatable)

[`Hashable`](/documentation/Swift/Hashable)

---

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)