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

# NSLevelIndicatorCell

`NSLevelIndicatorCell` is a subclass of [`NSActionCell`](/documentation/AppKit/NSActionCell) that provides several level indicator display styles including: capacity, ranking and relevancy. The capacity style provides both continuous and discrete modes.

```
class NSLevelIndicatorCell
```

## Topics

### Initializing NSLevelIndicatorCell Objects

[`init(levelIndicatorStyle:)`](/documentation/AppKit/NSLevelIndicatorCell/init(levelIndicatorStyle:))

Initializes the receiver with the style specified by `levelIndicatorStyle`.

### Configuring the Range of Values

[`minValue`](/documentation/AppKit/NSLevelIndicatorCell/minValue)

The minimum value of the control.

[`maxValue`](/documentation/AppKit/NSLevelIndicatorCell/maxValue)

The maximum value of the control.

[`levelIndicatorStyle`](/documentation/AppKit/NSLevelIndicatorCell/levelIndicatorStyle)

The style of the level indicator control.

[`warningValue`](/documentation/AppKit/NSLevelIndicatorCell/warningValue)

The warning value of the level indicator control.

[`criticalValue`](/documentation/AppKit/NSLevelIndicatorCell/criticalValue)

The critical value of the level indicator control.

### Managing Tick Marks

[`tickMarkPosition`](/documentation/AppKit/NSLevelIndicatorCell/tickMarkPosition)

The placement of tick marks on the level indicator control.

[`numberOfTickMarks`](/documentation/AppKit/NSLevelIndicatorCell/numberOfTickMarks)

The number of tick marks displayed by the control.

[`numberOfMajorTickMarks`](/documentation/AppKit/NSLevelIndicatorCell/numberOfMajorTickMarks)

The number of major tick marks displayed by the control.

[`tickMarkValue(at:)`](/documentation/AppKit/NSLevelIndicatorCell/tickMarkValue(at:))

Returns the receiver’s value represented by the tick mark at index (the minimum-value tick mark has an index of 0).

[`rectOfTickMark(at:)`](/documentation/AppKit/NSLevelIndicatorCell/rectOfTickMark(at:))

Returns the bounding rectangle of the tick mark identified by `index` (the minimum-value tick mark is at index 0).

### Constants

[`NSLevelIndicator.Style`](/documentation/AppKit/NSLevelIndicator/Style)

Constants that specify a level indicator’s appearance.



---

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)