Latest 0.0.5
Homepage https://github.com/ALVIN-YANG/LQDownloadManager
License MIT
Platforms ios 8.0
Frameworks UIKit
Authors

LQDownloadManager is a download manager in Swift, support background mode.

Example

Clone the repo, Run the example project.

Requirements

  • iOS 8.0+
  • Xcode 8.0+

Installation

CocoaPods 1.0.0+ is required to build LQDownloadManager

To integrate LQDownloadManager into your Xcode project using CocoaPods, specify it in your Podfile:

pod "LQDownloadManager"

Usage

LQDownloadManager.shared.download("#download file url string#", progress: { 
  progress in

      print("progress: (progress)")

  }) { 
    status in

      switch status {
      case .start:

        // ...
      case .suspend:

       // ...
      case .complete:

       // ...
      case .failed:

       // ...
      }
    }

Contact me

Email: [email protected]

weibo: 青木KON

License

LQDownloadManager is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "LQDownloadManager",
    "version": "0.0.5",
    "summary": "iOS download manager, support background mode.",
    "homepage": "https://github.com/ALVIN-YANG/LQDownloadManager",
    "license": "MIT",
    "authors": {
        "ALVIN-YANG": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/ALVIN-YANG/LQDownloadManager.git",
        "tag": "0.0.5"
    },
    "frameworks": "UIKit",
    "source_files": "LQDownloadManager/*",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This