<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSCell/Attribute/cellState",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@E@NSCellAttribute@NSCellState"
  },
  "title" : "NSCell.Attribute.cellState"
}
-->

# NSCell.Attribute.cellState

The cell’s state.

```
case cellState
```

## Discussion

The cell’s state can be [`NSMixedState`](/documentation/AppKit/NSMixedState), [`NSOffState`](/documentation/AppKit/NSOffState), or [`NSOnState`](/documentation/AppKit/NSOnState).

---

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)