Repository navigation
The previous release introduced introspection of the current Hardware Model Identifier (HMI). This release adds on top of that the ability to parse & build an HMI for your own uses.
let iPhone_15_pm = Introspection.Device.HardwareModelIdentifier(type: .iPhone, version: .init(major: 16, minor: 2))guard let previousDevice = Introspection.Device.HardwareModelIdentifier(parsing: previousDeviceHmiString) else {
throw UnknownDeviceError(previousDeviceHmiString)
}Breaking changes
- This increases the platform version requirements:
- Swift 5.2 🔜 6.3
- macOS 10.15 🔜 13
- iOS 13 🔜 16
- tvOS 13 🔜 16
- watchOS 6 🔜 9