---
title: NSCell.CellType
framework: appkit
role: symbol
role_heading: Enumeration
path: appkit/nscell/celltype
---

# NSCell.CellType

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

## Declaration

```swift
enum CellType
```

## Topics

### Constants

- [NSCell.CellType.nullCellType](appkit/nscell/celltype/nullcelltype.md)
- [NSCell.CellType.textCellType](appkit/nscell/celltype/textcelltype.md)
- [NSCell.CellType.imageCellType](appkit/nscell/celltype/imagecelltype.md)

### Initializers

- [init(rawValue:)](appkit/nscell/celltype/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Constants

- [NSCell.Attribute](appkit/nscell/attribute.md)
- [NSControl.ImagePosition](appkit/nscontrol/imageposition.md)
- [NSImageScaling](appkit/nsimagescaling.md)
- [NSCell.StateValue](appkit/nscell/statevalue.md)
- [NSCell.StyleMask](appkit/nscell/stylemask.md)
- [NSControlTint](appkit/nscontroltint.md)
- [NSControl.ControlSize](appkit/nscontrol/controlsize-swift.enum.md)
- [NSCell.HitResult](appkit/nscell/hitresult.md)
- [NSView.BackgroundStyle](appkit/nsview/backgroundstyle.md)
- [Deprecated Scaling Constants](appkit/deprecated-scaling-constants.md)
- [Data Entry Types](appkit/data-entry-types.md)
