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

# cell

The receiver’s cell object.

```
var cell: NSCell? { get set }
```

## Discussion

For controls with multiple cells (such as `NSMatrix` or `NSForm`), use the [`selectedCell()`](/documentation/AppKit/NSControl/selectedCell()) property to retrieve a specific cell.

---

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)