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

# NSSegmentedControl.SwitchTracking

Constants that specify the type of tracking behavior a segmented control exhibits.

```
enum SwitchTracking
```

## Topics

### Constants

[`NSSegmentSwitchTrackingSelectOne`](/documentation/AppKit/NSSegmentedControl/SwitchTracking/selectOne)

Only one segment in the control can be selected at a time.

[`NSSegmentSwitchTrackingSelectAny`](/documentation/AppKit/NSSegmentedControl/SwitchTracking/selectAny)

One or more segment cells in the control can be selected at a time.

[`NSSegmentSwitchTrackingMomentary`](/documentation/AppKit/NSSegmentedControl/SwitchTracking/momentary)

A tracking mode that selects a segment when a person clicks within the bounds of the segment.

[`NSSegmentSwitchTrackingMomentaryAccelerator`](/documentation/AppKit/NSSegmentedControl/SwitchTracking/momentaryAccelerator)

A tracking mode that sends repeating actions as pressure changes on Force Touch systems, stopping when someone releases the segment.

## Relationships

### Conforms To

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

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

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

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

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

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

---

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)