Swiftpack.co - Schlaubischlump/Downloader as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by Schlaubischlump.
Schlaubischlump/Downloader v0.0.3
A simple swift package to download files.
⭐️ 1
🕓 1 year ago
.package(url: "https://github.com/Schlaubischlump/Downloader.git", from: "v0.0.3")

Downloader

License: GNU Affero General Public license version 3

A simple Downloader for Swift published under the GNU Affero General Public license.

Usage:

// URL to download
let myurl = URL(...)
// Create a Downloader instance
let downloader = Downloader()
// Register the delegate to get informed about changes.
downloader.delegate = self
// Create multiple DownloadTasks
let task1 = DownloadTask(dID: "mytaskid", source: myurl, destination: "/Path/To/Destination/file", description: "My task description")
// Start the download process
downloader.start(task1)

GitHub

link
Stars: 1
Last commit: 1 year ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

Beta 2
3 years ago

Lowered swift-tools-version to 5.2.

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