Swiftpack.co - elegantchaos/Hardware as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by elegantchaos.
elegantchaos/Hardware v1.0.1
Abstraction of various hardware interfaces and device properties on macOS/iOS/tvOS/watchOS.
⭐️ 2
🕓 1 year ago
.package(url: "https://github.com/elegantchaos/Hardware.git", from: "v1.0.1")

Test results Latest release swift 5.6 shield swift 5.7 shield Platforms: macOS, iOS, tvOS, Linux

Test results Latest release swift 5.0 shield swift 5.1 shield swift 5.2 shield swift 5.3 shield swift dev shield Platforms: macOS, iOS, tvOS, watchOS, Linux

Hardware

Some hardware related utilities.

You can use Device.main to interrogate various properties of the machine that you're running on.

In particular, you can obtain a unique identifier. This is based on the ethernet MAC address (on macOS), or the identifierForVendor value (on iOS).

Also contains some IOKit-related wrappers.

GitHub

link
Stars: 2
Last commit: 1 year ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

1.0.1
3 years ago

Fixed visibility of various interfaces.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics