---
title: "namesOfPromisedFilesDropped(atDestination:)"
framework: objectivec
role: symbol
role_heading: Instance Method
path: "objectivec/nsobject-swift.class/namesofpromisedfilesdropped(atdestination:)"
---

# namesOfPromisedFilesDropped(atDestination:)

Returns the names of the files that the receiver promises to create at a specified location.

## Declaration

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

## Parameters

- `dropDestination`: A URL object that identifies the location at which the promised files will be created.

## Return Value

Return Value An array of the names of files (not full paths) that the receiver promises to create at dropDestination.

## Discussion

Discussion This method is invoked when the drop has been accepted by the destination and the destination, in the case of another Cocoa application, invokes the NSDraggingInfo method namesOfPromisedFilesDropped(atDestination:). For long operations, you can cache dropDestination and defer the creation of the files until the draggedImage:endedAt:operation: method to avoid blocking the destination application.

## See Also

### Deprecated Methods

- [accessibilityAttributeNames()](objectivec/nsobject-swift.class/accessibilityattributenames().md)
- [accessibilityAttributeValue(_:)](objectivec/nsobject-swift.class/accessibilityattributevalue(_:).md)
- [accessibilityAttributeValue(_:forParameter:)](objectivec/nsobject-swift.class/accessibilityattributevalue(_:forparameter:).md)
- [accessibilityActionDescription(_:)](objectivec/nsobject-swift.class/accessibilityactiondescription(_:).md)
- [accessibilityActionNames()](objectivec/nsobject-swift.class/accessibilityactionnames().md)
- [accessibilityArrayAttributeCount(_:)](objectivec/nsobject-swift.class/accessibilityarrayattributecount(_:).md)
- [accessibilityArrayAttributeValues(_:index:maxCount:)](objectivec/nsobject-swift.class/accessibilityarrayattributevalues(_:index:maxcount:).md)
- [accessibilityIndex(ofChild:)](objectivec/nsobject-swift.class/accessibilityindex(ofchild:).md)
- [accessibilityIsAttributeSettable(_:)](objectivec/nsobject-swift.class/accessibilityisattributesettable(_:).md)
- [accessibilityIsIgnored()](objectivec/nsobject-swift.class/accessibilityisignored().md)
- [accessibilityParameterizedAttributeNames()](objectivec/nsobject-swift.class/accessibilityparameterizedattributenames().md)
- [accessibilityPerformAction(_:)](objectivec/nsobject-swift.class/accessibilityperformaction(_:).md)
- [accessibilitySetOverrideValue(_:forAttribute:)](objectivec/nsobject-swift.class/accessibilitysetoverridevalue(_:forattribute:).md)
- [accessibilitySetValue(_:forAttribute:)](objectivec/nsobject-swift.class/accessibilitysetvalue(_:forattribute:).md)
- [fileManager(_:shouldProceedAfterError:)](objectivec/nsobject-swift.class/filemanager(_:shouldproceedaftererror:).md)
