Swiftpack.co -  lcharlick/DownloadManager as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
lcharlick/DownloadManager
A URLSession-based download manager in Swift.
.package(url: "https://github.com/lcharlick/DownloadManager.git", from: "1.0.5")

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")
    ]
)

GitHub

link
Stars: 2
Last commit: 4 days ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API