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

# NSCell.CellType

Constants for specifying how a cell represents its data (as text or as an image).

```
enum CellType
```

## Topics

### Constants

[`case nullCellType`](/documentation/AppKit/NSCell/CellType/nullCellType)

Cell displays nothing.

[`case textCellType`](/documentation/AppKit/NSCell/CellType/textCellType)

Cell displays text.

[`case imageCellType`](/documentation/AppKit/NSCell/CellType/imageCellType)

Cell displays images.

### Initializers

[`init?(rawValue: UInt)`](/documentation/AppKit/NSCell/CellType/init(rawValue:))

## Relationships

### Conforms To

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

---

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)