Skip to content

lcharlick/DownloadManager

Repository files navigation

DownloadManager

A URLSession-based download manager in Swift.

Features

  • Support for background URLSessions
  • Downloads are pausable and cancellable
  • Progress can be tracked for the entire download manager, individual downloads, or a subset of downloads
  • Support for concurrent downloads
  • Easy integration with SwiftUI (see example project)
  • No external dependencies

Installation

Swift Package Manager

Create a Package.swift file.

import PackageDescription

let package = Package(
    name: "SampleProject",
    dependencies: [
        .Package(url: "https://github.com/lcharlick/DownloadManager.git" from: "1.0.0")
    ]
)

About

A URLSession-based download manager in Swift.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages