GatheredKit
GatheredKit copied to clipboard
Swift Package that provides a consistent API for various data sources offered by macOS, iOS, watchOS, and tvOS.
A wrapper around `UIDevice.proximityState`. Previous implementation: https://github.com/JosephDuffy/GatheredKit/blob/develop/Source/Sources/Proximity.swift
This is a wrapper around `CoreTelephony`. This one might be a pain to maintain. Checking for multiple sims is likely also a pain. Previous implementation at https://github.com/JosephDuffy/GatheredKit/blob/develop/Source/Sources/CellRadio.swift
We can listen for channel dB levels. It would be nice to support mono and stereo microphones.
For example `CLLocationManagerDelegate` can notify the delegate of updated permissions. This could be separate from regular updates to allow UI to update with minimal resource usage. This can be added...
It uses `CoreLocation` and `CLLocationManager`, but accesses different sensors than when requesting the user's location so it makes sense as its own source, but in `GatheredKitLocation`.
This is cumbersome to implement and doesn't provide much utility. It's easier and better to listen to each property individually.
Wrapper around https://developer.apple.com/documentation/network/nwpathmonitor
A feature of GatheredKit should be full Sendable conformance. This might be a lot easier with the release of Swift 5.7, and if so the release of 1.0 can be...
Waiting for fix for `prioritizeKeepingFunctionOutputTogether` (https://bugs.swift.org/browse/SR-13049)