HMCDownloadManager

HMCDownloadManager is a wrapper supporting downloading multiple files within a singleton object.
By download multiple files concurrently (same or not same URL), we can set maximumDownloadItem for number of maximum items can be downloaded concurrently. We can choose between background (items can be downloaded when app is in background) or default download manager. Callback each block for each item in different queues.

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

iOS 8.0+

Xcode 8.3+

Features

[x] Download multiple file within a singleton object

[x] Support normal and background download

[x] Copy to destination file when finish downloading

[x] Support pause, resume, cancel downloading an item

[x] Auto continue download file after interrupt without cancelling

[x] Support multiple callback blocks for same url

[x] Write/ read file only, don’t use memory for store download item

Installation

HMCDownloadManager is available through CocoaPods. To install
it, simply add the following line to your Podfile: