<!--
{
  "availability" : [
    "macOS: 10.0.0 - 10.13.0"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSDraggingInfo/namesOfPromisedFilesDropped(atDestination:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(pl)NSDraggingInfo(im)namesOfPromisedFilesDroppedAtDestination:"
  },
  "title" : "namesOfPromisedFilesDropped(atDestination:)"
}
-->

# namesOfPromisedFilesDropped(atDestination:)

Sets the drop location for promised files and returns the names of the files that the receiver promises to create there.

```
func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]?
```

## Parameters

`dropDestination`

A URL object specifying the drop location for promised files.

## Return Value

An array of file names, which are not full paths.

## Discussion

Drag destinations should invoke this method within their performDragOperation: method. The source may or may not have created the files by the time this method returns.

---

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)