---
title: "downloadDidBegin(_:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/nsurldownloaddelegate/downloaddidbegin(_:)"
---

# downloadDidBegin(_:)

Sent immediately after a download object begins a download.

## Declaration

```swift
optional func downloadDidBegin(_ download: NSURLDownload)
```

## Parameters

- `download`: The URL download object sending the message.

## See Also

### Download Data and Responses

- [download(_:decideDestinationWithSuggestedFilename:)](foundation/nsurldownloaddelegate/download(_:decidedestinationwithsuggestedfilename:).md)
- [download(_:didCreateDestination:)](foundation/nsurldownloaddelegate/download(_:didcreatedestination:).md)
- [download(_:didReceive:)](foundation/nsurldownloaddelegate/download(_:didreceive:)-817z3.md)
- [download(_:didReceiveDataOfLength:)](foundation/nsurldownloaddelegate/download(_:didreceivedataoflength:).md)
- [download(_:shouldDecodeSourceDataOfMIMEType:)](foundation/nsurldownloaddelegate/download(_:shoulddecodesourcedataofmimetype:).md)
- [download(_:willResumeWith:fromByte:)](foundation/nsurldownloaddelegate/download(_:willresumewith:frombyte:).md)
- [download(_:willSend:redirectResponse:)](foundation/nsurldownloaddelegate/download(_:willsend:redirectresponse:).md)
