CocoaPods trunk is moving to be read-only. Read more on the blog, there are 19 months to go.

NTDownload 1.0.0

NTDownload 1.0.0

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Sep 2017
SwiftSwift Version 4.0
SPMSupports SPM

Maintained by ntian.



  • By
  • ntian2

NTDownlaod is a lightweight Swift 4 library for download files.

Features

  • Support for resume breakpoint
  • Download files when the app is in the background.
  • URLSession -based networking.
  • It can resume or pause any download tasks.
  • This library contains only 4 files.

Requirements

  • iOS 8.0+
  • Swift 4

Installation

NTDownlaod is available through Cocoapods. So you can add the following line to your Podfile.

pod 'NTDownload'

Usages

let urlString = "url_of_you_file"
NTDownloadManager.shared.addDownloadTask(urlString: urlString)

You can also clone the repo, and run the example project.

GIF Demo

GIFDemo

License

NTDownload is released under the MIT license. See LICENSE for details.