A lightweight Swift download framework for iOS that handles file downloads with just one line of code.
Digger is a lightweight download framework for iOS that simplifies file downloading with a minimal code footprint. It provides a clean Swift API built on URLSession that handles complex download tasks like breakpoint resumption, progress tracking, and concurrent downloads with just one line of code. The framework solves the problem of implementing robust download functionality without writing extensive boilerplate code.
iOS developers who need to implement file downloading functionality in their apps, particularly those working with large files or requiring reliable download management with progress tracking.
Developers choose Digger for its extreme simplicity—requiring only one line of code for basic downloads—combined with powerful features like breakpoint resumption, real-time progress tracking, and configurable concurrency. Its pure Swift implementation and clean chain syntax API make it both modern and easy to integrate.
Digger is a lightweight download framework that requires only one line of code to complete the file download task
Allows downloading files with just one line of code, as demonstrated in the basic usage example `Digger.download(url)`, reducing boilerplate significantly.
Automatically resumes interrupted downloads even when the app is force-closed, ensuring reliable handling of large files without manual intervention.
Provides live progress and speed monitoring through chainable callbacks like `.progress` and `.speed`, making UI updates straightforward.
Supports setting maximum concurrent tasks via `DiggerManager.shared.maxConcurrentTasksCount`, allowing optimization for different network conditions.
Built purely for iOS with Swift and URLSession, it cannot be used for cross-platform or server-side projects, limiting its scope.
The completion callback only returns a simple `Result` enum with success or failure, lacking built-in retry logic or detailed error recovery strategies.
As a standalone download library, it doesn't integrate with broader networking stacks like Alamofire, which might complicate projects using those tools.
Elegant HTTP Networking in Swift
A delightful networking framework for iOS, macOS, watchOS, and tvOS.
Network abstraction layer written in Swift.
RestKit is a framework for consuming and modeling RESTful web resources on iOS and OS X
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.