A URL object that identifies the location at which the promised files will be created.
Instance Method
インスタンスメソッド
names
namesOfPromisedFilesDropped(atDestination:)
Returns the names of the files that the receiver promises to create at a specified location.
Availability
- macOS 10.0–10.13 Deprecated
Technology
- App
Kit
Declaration 宣言
Parameters パラメータ
dropDestination
Return Value 戻り値
An array of the names of files (not full paths) that the receiver promises to create at drop
.
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 names
. For long operations, you can cache drop
and defer the creation of the files until the draggedImage:endedAt:operation: method to avoid blocking the destination application.