---
title: NSDraggingImageComponent
framework: appkit
role: symbol
role_heading: Class
path: appkit/nsdraggingimagecomponent
---

# NSDraggingImageComponent

A single object in a dragging item.

## Declaration

```swift
class NSDraggingImageComponent
```

## Overview

Overview An array of NSDraggingImageComponent instances are composited together to create the dragging image for an NSDraggingItem. NSDraggingImageComponent instances can simply be considered as named images with a location used by an NSDraggingItem instance.

## Topics

### Creating a Dragging Image Component

- [init(key:)](appkit/nsdraggingimagecomponent/init(key:).md)

### Dragging Image Component

- [key](appkit/nsdraggingimagecomponent/key.md)

### Dragging Image Contents

- [contents](appkit/nsdraggingimagecomponent/contents.md)
- [frame](appkit/nsdraggingimagecomponent/frame.md)

### Constants

- [NSDragImage Component Keys](appkit/nsdragimage-component-keys.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Drag Sources

- [NSDraggingSource](appkit/nsdraggingsource.md)
- [NSDraggingItem](appkit/nsdraggingitem.md)
- [NSDraggingSession](appkit/nsdraggingsession.md)
