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

# draggingImageComponents

Returns dragging images for the cell.

```
var draggingImageComponents: [NSDraggingImageComponent] { get }
```

## Discussion

The default implementation of this method returns an array of up to two `NSDraggingImageComponent` instances – one for the [`imageView`](/documentation/AppKit/NSTableCellView/imageView) and another for the [`textField`](/documentation/AppKit/NSTableCellView/textField) (unless the property is `nil`).

These method can be subclassed and overridden to provide a custom set of `NSDraggingImageComponent` objects to create the drag image from this view.

---

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)