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.
⭐️ 2
🕓 4 days 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: 2
Last commit: 4 days ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

Beta 2
2 years ago

Lowered swift-tools-version to 5.2.

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