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

# init(levelIndicatorStyle:)

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

```
init(levelIndicatorStyle: NSLevelIndicator.Style)
```

## Discussion

The default value and minimum value are `0.0`. The default maximum value is dependent on `levelIndicatorStyle`. For continuous styles, the default maximum value is `100.0`. For discrete styles, the default maximum value is `5.0`.

---

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)