---
title: attachmentCell
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstextattachment/attachmentcell
---

# attachmentCell

The object that draws the icon for the text attachment and handles mouse events.

## Declaration

```swift
var attachmentCell: (any NSTextAttachmentCellProtocol)? { get set }
```
