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

# downloadDidFinish(_:)

Sent when a download object has completed downloading successfully and has written its results to disk.

```
optional func downloadDidFinish(_ download: NSURLDownload)
```

## Parameters

`download`

The URL download object sending the message.

## Discussion

The delegate will receive no further messages for `download`.

---

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)