GatheredKit
GatheredKit copied to clipboard
Swift Package that provides a consistent API for various data sources offered by macOS, iOS, watchOS, and tvOS.
Wrapper around https://developer.apple.com/documentation/gamecontroller. Can even support keyboards.
Just number of cores and total active cores. Would be nice to not rely on polling. Old source: https://github.com/JosephDuffy/GatheredKit/blob/develop/Source/Sources/CPU.swift
Could be added to GatheredKitDevice. Old implementation at https://github.com/JosephDuffy/GatheredKit/blob/develop/Source/Sources/OperatingSystem.swift. Uptime should not be included.
Can be added to GatheredKitDevice. Old implementation at https://github.com/JosephDuffy/GatheredKit/blob/develop/Source/Sources/DeviceMetadata.swift. Might be worth splitting uptime in a separate SystemUptime source.
Hopefully there's a more modern and safe method of reading this data, but it's a fairly small one. Previous implementation: https://github.com/JosephDuffy/GatheredKit/blob/develop/Source/Sources/Memory.swift
In the past these values have never lined up with that the OS says. It might also be possible to get the space available from external storage devices? Previous implementation:...
It might be possible to query all connected bluetooth devices?
This is only the status of Bluetooth on the device. Previous implementation: https://github.com/JosephDuffy/GatheredKit/blob/develop/Source/Sources/Bluetooth.swift
Screen orientation and direction. Previous implementation: https://github.com/JosephDuffy/GatheredKit/blob/develop/Source/Sources/DeviceOrientation.swift
Access to the port type, volume, etc. Uses `AVFoundation`. Previous implementation: https://github.com/JosephDuffy/GatheredKit/blob/develop/Source/Sources/AudioOutput.swift