Returns an initialized URL download for a URL request and begins to download the data for the request.
- macOS 10.3–10.11Deprecated
The URL request to download. The
requestobject is deep-copied as part of the initialization process. Changes made to
requestafter this method returns do not affect the request that is used for the loading process.
The delegate for the download. This object will receive delegate messages as the download progresses. Delegate messages will be sent on the thread which calls this method. For the download to work correctly the calling thread’s run loop must be operating in the default run loop mode.
NSURLDownloadclass maintains a strong reference to this delegate object.
An initialized NSURLDownload object for