https://github.com/wibosco/backgroundtransfer-example
An example project looking at how to implement background transfers on iOS
https://github.com/wibosco/backgroundtransfer-example
background-transfer ios networking swift thecatapi urlsession
Last synced: 11 months ago
JSON representation
An example project looking at how to implement background transfers on iOS
- Host: GitHub
- URL: https://github.com/wibosco/backgroundtransfer-example
- Owner: wibosco
- License: mit
- Created: 2018-04-28T08:55:17.000Z (about 8 years ago)
- Default Branch: main
- Last Pushed: 2025-03-24T11:25:40.000Z (over 1 year ago)
- Last Synced: 2025-07-14T05:05:22.237Z (12 months ago)
- Topics: background-transfer, ios, networking, swift, thecatapi, urlsession
- Language: Swift
- Homepage: https://williamboles.com/keeping-things-going-when-the-user-leaves-with-urlsession-and-background-transfers/
- Size: 69.3 KB
- Stars: 24
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/wibosco/BackgroundTransfer-Example/actions/workflows/swift.yml)
[](https://github.com/wibosco/BackgroundTransfer-Example/blob/main/LICENSE)
# BackgroundTransfer-Example
An example project looking at how to implement background transfers on iOS as shown in this article - https://williamboles.com/keeping-things-going-when-the-user-leaves-with-urlsession-and-background-transfers/
In order to run this project, you will need to register with [TheCatAPI](https://thecatapi.com/) to get a `x-api-key` token to access TheCatAPI's API (which the project uses to get its example content). Once you have your `x-api-key`, add it to the project as the value of the `APIKey` property in the `NetworkService` class and the project should now run. If you have any trouble getting the project to run, please create an issue.