apple-device-information

1.6.0

Contains a collection of device identifiers of apple devices
sersoft-gmbh/apple-device-information

What's New

v1.6.0

2023-04-09T12:20:47Z

What's Changed

  • Add Swift 5.8 support.

Full Changelog: 1.5.0...1.6.0

Apple Device Information

GitHub release Tests Codacy Badge codecov Docs

A database of device information which includes a mapping of device model identifiers to names.

Installation

Add the following dependency to your Package.swift:

.package(url: "https://github.com/sersoft-gmbh/apple-device-information.git", from: "1.0.0"),

Usage

DeviceInfo

Simply access DeviceInfo.current and you have access to all information this package currently offers. For a more detailed documentation of the fields, please have a look at the header docs.

Documentation

The API is documented using header doc. If you prefer to view the documentation as a webpage, there is an online version available for you.

Contributing

If you find a bug / like to see a new feature in this package there are a few ways of helping out:

  • If you can fix the bug / implement the feature yourself please do and open a PR.
  • If you know how to code (which you probably do), please add a (failing) test and open a PR. We'll try to get your test green ASAP.
  • If you can do neither, then open an issue. While this might be the easiest way, it will likely take the longest for the bug to be fixed / feature to be implemented.

License

See LICENSE file.

Description

  • Swift Tools 5.8.0
View More Packages from this Author

Dependencies

Last updated: Thu May 25 2023 23:59:39 GMT-0500 (GMT-05:00)