Inherits from NSObject
Declared in DTDownloadItem.h

Overview

Represents one downloadable item for use with DTDownloadQueue. For using DTDownloadQueue you would instantiate one DTDownloadItem and pass it to downloadItem:completion:progress:.

Properties

URL

The URL of the receiver

@property (nonatomic, strong) NSURL *URL

Declared In

DTDownloadItem.h

destinationFile

The target file path the item is to be downloaded to

@property (nonatomic, copy) NSString *destinationFile

Declared In

DTDownloadItem.h

Instance Methods

initWithURL:destinationFile:

Creates a download item

- (id)initWithURL:(NSURL *)url destinationFile:(NSString *)destinationFile

Parameters

url

The URL to download

destinationFile

The file path to download to

Declared In

DTDownloadItem.h