<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSSegmentedCell/trackingMode",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSSegmentedCell(py)trackingMode"
  },
  "title" : "trackingMode"
}
-->

# trackingMode

The tracking mode used for the segments of the control.

```
var trackingMode: NSSegmentedControl.SwitchTracking { get set }
```

## Discussion

Possible values for `trackingMode` are described in [`NSSegmentedControl.SwitchTracking`](/documentation/AppKit/NSSegmentedControl/SwitchTracking). The default value is [`NSSegmentedControl.SwitchTracking.selectOne`](/documentation/AppKit/NSSegmentedControl/SwitchTracking/selectOne).

---

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)