---
title: registeredDraggedTypes
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsview/registereddraggedtypes
---

# registeredDraggedTypes

The array of pasteboard drag types that the view can accept.

## Declaration

```swift
var registeredDraggedTypes: [NSPasteboard.PasteboardType] { get }
```

## Discussion

Discussion This property contains an array of NSString objects, each of which corresponds to a Uniform Type Identifier. The array elements are in no particular order, but the array is guaranteed not to contain duplicate entries. To register your view’s drag types, use the registerForDraggedTypes(_:) method.

## See Also

### Dragging Operations

- [registerForDraggedTypes(_:)](appkit/nsview/registerfordraggedtypes(_:).md)
- [unregisterDraggedTypes()](appkit/nsview/unregisterdraggedtypes().md)
- [beginDraggingSession(with:event:source:)](appkit/nsview/begindraggingsession(with:event:source:).md)
- [beginDraggingSession(items:gesture:source:)](appkit/nsview/begindraggingsession(items:gesture:source:).md)
- [shouldDelayWindowOrdering(for:)](appkit/nsview/shoulddelaywindowordering(for:).md)
