A dead-simple abstraction over the iOS BackgroundTask API to make background tasks easy to isolate, maintain and schedule. Designed to be as lightweight and flexible as possible while tightly integrating with the system APIs. And It's built with Swift Concurrency in mind.
- Isolates and abstracts background tasks
- Eliminates boilerplate and extra setup steps
- Supports Swift Concurrency / async await
- Low-overhead and full feature set
- Extensive documentation (available with DocC)
This package requires a minimum deployment target of iOS 13.0 and Swift 5.6.
Extensive, beautiful documentation is available by importing the included .doccarchive
bundle into Xcode. Just open the archive and Xcode will import it into your documentation browser. Documentation includes articles to get you up and running with Background Tasks and information on how to debug these tasks.
You can install, or integrate, Lurker using Swift Package Manager or manually.
Copy the following URL and then from Xcode choose File
> Add Packages...
.
https://github.com/Sam-Spencer/Lurker.git
Clone or download the repository and copy the contents of the Sources
directory into your project.
Lurker is available under the MIT license. See LICENSE file for more info.