mzeeshanid / MZDownloadManager

This download manager uses NSURLSession api to download files. It can download multiple files at a time. It can download large files if app is in background. It can resume downloads if app was quit.
BSD 3-Clause "New" or "Revised" License
1.12k stars 238 forks source link

Accept custom URLSessionConfiguration when initializing MZDownloadManager #78

Closed farktronix closed 5 years ago

farktronix commented 5 years ago

This PR adds an optional URLSessionConfiguration argument to the initializer for MZDownloadManager so that clients can set their own custom configuration properties.

This also includes some minor fixes for crashes that @alecgorge found.