Contents

josephduffy/gatheredkit

--

[`GatheredKitCamera`](./Sources/GatheredKitCamera/README.md)

GatheredKitCamera provides access to cameras, both built-in and external. The CameraProvider can be used to query for connected cameras. It wraps the AVFoundation framework.

[`GatheredKitDevice`](./Sources/GatheredKitDevice/README.md)

GatheredKitDevice provides various sources relating to the current device.

On iOS this wraps the UIKit framework, specifically UIDevice.

[`GatheredKitLocation`](./Sources/GatheredKitLocation/README.md)

GatheredKitLocation provides the Location data source, which is used to access location-based information provided by the GPS and associated sensors. It relies on the Core Location framework.

`GatheredKitMotion`

GatheredKitMotion provides data sources that utilise the CoreMotion framework, such as an Accelerometer, Gyroscope, and Magnetometer.

[`GatheredKitProcessInfo`](./Sources/GatheredKitProcessInfo/README.md)

GatheredKitProcessInfo provides information relating to the computer the process is running on.

`GatheredKitScreen`

GatheredKitScreen provides access to the screens associated with the device.

Future Libraries

Below are the sources that are available in the Gathered app but have not yet been added to this open source project.

  • [ ] Compass
  • [ ] Microphone
  • [ ] Cell Radio
  • [ ] Proximity
  • [ ] Audio Output
  • [ ] Device Orientation
  • [ ] Bluetooth
  • [ ] Storage
  • [ ] Memory
  • [ ] Device Metadata
  • [ ] Operating System
  • [ ] CPU

Installation

SwiftPM

To install via SwiftPM add the package to the dependencies section and as the dependency of a target:

let package = Package(
    ...
    dependencies: [
        .package(url: "https://github.com/JosephDuffy/GatheredKit.git", branch: "main"),
    ],
    targets: [
        .target(name: "MyApp", dependencies: ["GatheredKit"]),
    ],
    ...
)

License

The project is released under the MIT license. View the LICENSE file for the full license.

Package Metadata

Repository: josephduffy/gatheredkit

Default branch: main

README: README.md