Version 5.0.0
Releasedate: 2022-11-01
pod 'DeviceKit', '~> 5.0'
Breaking changes
- DeviceKit v5.0.0 drops support for the platforms that Xcode 14 also no longer supports: (#337)
Platform | Previous | Now |
---|---|---|
iOS | 9.0 | 11.0 |
tvOS | 9.0 | 11.0 |
watchOS | 2.0 | 4.0 |
New features
- Retrieve a device's CPU info using eg.
Device.current.cpu
. (#330) - Add
.isSimulator
to tvOS and watchOS. (#245) - Add
.isCanvas
which indicates whether the app is running in a SwiftUI preview. (#303)
Contributors
Thanks to all the contributers of this release!