---
title: type
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nscell/type
---

# type

The type of the cell.

## Declaration

```swift
var type: NSCell.CellType { get set }
```

## Discussion

Discussion When you change the cell type to NSCell.CellType.textCellType, the cell converts gives itself a default title and sets the font to the system font at the default size. When you change the cell type to NSCell.CellType.imageCellType, the cell type does not change until you assign a new non-nil image to it. For a list of possible cell types, see NSCell.CellType.

## See Also

### Related Documentation

- [image](appkit/nscell/image.md)

### Managing Cell Attributes

- [setCellAttribute(_:to:)](appkit/nscell/setcellattribute(_:to:).md)
- [cellAttribute(_:)](appkit/nscell/cellattribute(_:).md)
- [isEnabled](appkit/nscell/isenabled.md)
- [allowsUndo](appkit/nscell/allowsundo.md)
