<!--
{
  "availability" : [
    "macOS: 10.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSURLDownloadDelegate/download(_:didCreateDestination:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:objc(pl)NSURLDownloadDelegate(im)download:didCreateDestination:"
  },
  "title" : "download(_:didCreateDestination:)"
}
-->

# download(_:didCreateDestination:)

Sent when the destination file is created.

```
optional func download(_ download: NSURLDownload, didCreateDestination path: String)
```

## Parameters

`download`

The URL download object sending the message.

`path`

The path to the destination file.

---

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)