Contents

michaelnisi/fileproxy

A URL proxy, or file download manager, for transient data, especially streamable media resources.

Background

Working with background downloads, keep this paragraph from Apple’s documentation in mind:

As a result, if your app starts a single background download, gets resumed when the download completes, and then starts a new download, it will greatly increase the delay. Instead, use a small number of background sessions — ideally just one — and use these sessions to start many download tasks at once. This allows the system to perform multiple downloads at once, and resume your app when they have completed.

Testing

Testing and debugging apps with background downloading is tricky. Use logging and launch your app from the Home screen rather than running from Xcode. For debugging specific issues, attach to process from Xcode’s Debug menu.

This package is hardened by production. Additionally, you can run rudimentary tests with the Package Manager.

make test

Install

📦 Add https://github.com/michaelnisi/fileproxy to your package dependencies.

License

MIT

Package Metadata

Repository: michaelnisi/fileproxy

Default branch: master

README: README.md