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

# registeredDraggedTypes

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

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

## Discussion

This property contains an array of <doc://com.apple.documentation/documentation/Foundation/NSString> objects, each of which corresponds to a [Uniform Type Identifier](https://developer.apple.com/library/archive/documentation/General/Conceptual/DevPedia-CocoaCore/UniformTypeIdentifier.html#//apple_ref/doc/uid/TP40008195-CH60). 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(_:)`](/documentation/AppKit/NSView/registerForDraggedTypes(_:)) method.

---

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)