Swiftpack.co - Swift Packages by devicekit

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.

Packages published by devicekit

devicekit/DeviceKit 5.2.3
DeviceKit is a value-type replacement of UIDevice.
⭐️ 4,342
🕓 4 days ago
🔖 Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
Version 5.2.3
4 days ago
Releasedate: 2024-04-15 ```ruby pod 'DeviceKit', '~> 5.2' ``` ### Bugfixes - Fix PrivacyInfo for Cocoapods. ([#397](https://github.com/devicekit/DeviceKit/pull/397)) ### Contributors Thanks to all the contributers of this release! - [RayJiang16](https://github.com/RayJiang16)
Version 5.2.2
10 weeks ago
Releasedate: 2024-02-06 ```ruby pod 'DeviceKit', '~> 5.2' ``` ### Bugfixes - Fix building SwiftUI previews on macOS properly. ([#389](https://github.com/devicekit/DeviceKit/pull/389)) - Fix building for visionOS. ([#390](https://github.com/devicekit/DeviceKit/pull/390)) ### Contributors Thanks to all the contributers of this release! - [honghaoz](https://github.com/honghaoz) - [chrisvasselli](https://github.com/chrisvasselli)
Version 5.2.1
13 weeks ago
Releasedate: 2024-01-17 ```ruby pod 'DeviceKit', '~> 5.2' ``` ### Bugfixes - Update swift-tools-version in Package.swift to 5.3 to support Resource files. ([#381](https://github.com/devicekit/DeviceKit/pull/381)) - Fix PrivacyInfo.xcprivacy not being detected on SPM. ([#384](https://github.com/devicekit/DeviceKit/pull/384)) ### Contributors Thanks to all the contributers of this release! - [Semty](https://github.com/Semty) - Everyone who reported the SPM issues.
Version 5.2.0
13 weeks ago
Releasedate: 2024-01-15 ```ruby pod 'DeviceKit', '~> 5.2' ``` ### New features - Add `.hasUSBCConnectivity` to `Device` to indicate whether the device has an USB-C port. ([#373](https://github.com/devicekit/DeviceKit/pull/373)) - Add `.hasDynamicIsland` to `Device` to indicate whether the device has a dynamic island. ([#368](https://github.com/devicekit/DeviceKit/pull/368)) - Add `.has5gSupport` to `Device` to indicate whether the device has 5G support. ([#340](https://github.com/devicekit/DeviceKit/pull/340)) - Added Privacy Manifest to DeviceKit. ([#367](https://github.com/devicekit/DeviceKit/pull/367)) - Fix compilation issues when building SwiftUI Previews for macOS. ([#376](https://github.com/devicekit/DeviceKit/pull/376)) ### Contributors Thanks to all the contributers of this release! - [mhausherr](https://github.com/mhausherr) - [417-72KI](https://github.com/417-72KI) - [furiosFast](https://github.com/furiosFast) - [DenTelezhkin](https://github.com/DenTelezhkin) - [honghaoz](https://github.com/honghaoz)
Version 5.1.0
30 weeks ago
Releasedate: 2023-09-21 ```ruby pod 'DeviceKit', '~> 5.1' ``` ### New September 2023 devices This version adds support for the devices announced at the September 2023 Apple Event: ([#360](https://github.com/devicekit/DeviceKit/pull/360), [#361](https://github.com/devicekit/DeviceKit/pull/361)) | Device | Case value | | --- | --- | | iPhone 15 | `Device.iPhone15` | | iPhone 15 Plus | `Device.iPhone15Plus` | | iPhone 15 Pro | `Device.iPhone15Pro` | | iPhone 15 Pro Max | `Device.iPhone15ProMax` | | Apple Watch Series 9 | `Device.appleWatchSeries9_41mm`, `Device.appleWatchSeries9_45mm` | | Apple Watch Ultra 2 | `Device.appleWatchUltra2` | ### Fixes - Fixes compilation errors that occur when compiling DeviceKit for visionOS. ([#356](https://github.com/devicekit/DeviceKit/pull/356)) ### Important notes - Note that this version does not add full visionOS support to DeviceKit. It just allows DeviceKit to compile for visionOS. - When compiling this version of DeviceKit with Xcode 14 or lower, it will produce the following warning 3 times: `Unknown operating system for build configuration 'os'` ### Contributors Thanks to all the contributers of this release! - [wo-ist-henry](https://github.com/wo-ist-henry)
Version 5.0.0
1 year ago
Releasedate: 2022-11-01 ```ruby pod 'DeviceKit', '~> 5.0' ``` ### Breaking changes - DeviceKit v5.0.0 drops support for the platforms that Xcode 14 also no longer supports: ([#337](https://github.com/devicekit/DeviceKit/pull/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](https://github.com/devicekit/DeviceKit/pull/330)) - Add `.isSimulator` to tvOS and watchOS. ([#245](https://github.com/devicekit/DeviceKit/pull/245)) - Add `.isCanvas` which indicates whether the app is running in a SwiftUI preview. ([#303](https://github.com/devicekit/DeviceKit/pull/303)) ### Contributors Thanks to all the contributers of this release! - [parski](https://github.com/parski) - [guidev](https://github.com/guidev) - [JackYoustra](https://github.com/JackYoustra)
Version 4.9.0
1 year ago
Releasedate: 2022-11-01 ```ruby pod 'DeviceKit', '~> 4.9' ``` ### Apple TV 4K (3rd generation) support. This version adds support for the new Apple TV (3rd generation) that is released on the 4th of November 2022. ([#335](https://github.com/devicekit/DeviceKit/pull/335)) | Device | Case value | | --- | --- | | Apple TV 4K (3rd generation) | `Device.appleTV4K3` | ### New features - Add ability to get current device's thermal state. ([#332](https://github.com/devicekit/DeviceKit/pull/332)) ### Bugfixes - Fix Apple Watch Series 7 device identifier being incorrect. ([#329](https://github.com/devicekit/DeviceKit/pull/329)) ### Contributors Thanks to all the contributers of this release! - [guidev](https://github.com/guidev) - [chedabob](https://github.com/chedabob)
Release 4.8.0 - New October 2022 devices
1 year ago
## Version 4.8.0 Releasedate: 2022-10-28 ```ruby pod 'DeviceKit', '~> 4.8' ``` ### New October 2022 devices This version adds support for the devices that were released in October 2022: ([#334](https://github.com/devicekit/DeviceKit/pull/334)) | Device | Case value | | --- | --- | | iPad (10th generation) | `Device.iPad10` | | iPad Pro 11-inch (4th generation) | `Device.iPadPro11Inch4` | | iPad Pro 12.9-inch (6th generation) | `Device.iPadPro12Inch6` |
Release 4.7.0 - New September 2022 devices
1 year ago
## Version 4.7.0 Releasedate: 2022-09-13 ```ruby pod 'DeviceKit', '~> 4.7' ``` ### New September 2022 devices This version adds support for the devices announced at the September 2022 Apple Event: ([#324](https://github.com/devicekit/DeviceKit/pull/324)) | Device | Case value | | --- | --- | | iPhone 14 | `Device.iPhone14` | | iPhone 14 Plus | `Device.iPhone14Plus` | | iPhone 14 Pro | `Device.iPhone14Pro` | | iPhone 14 Pro Max | `Device.iPhone14ProMax` | | Apple Watch Series 7 (Missing from DeviceKit, from last year) | `Device.appleWatchSeries7_41mm`, `Device.appleWatchSeries7_45mm` | | Apple Watch Series 8 | `Device.appleWatchSeries8_41mm`, `Device.appleWatchSeries8_45mm` | | Apple Watch SE (2nd generation) | `Device.appleWatchSE2_40mm`, `Device.appleWatchSE2_44mm` | | Apple Watch Ultra | `Device.appleWatchUltra` | ### Bugfixes Fix the `Device.systemName` property which now returns `iPadOS` instead of `iOS` when running on an iPad. ([#283](https://github.com/devicekit/DeviceKit/pull/283))
Version 4.6.1 - Fixes Carthage Support
1 year ago
## Version 4.6.1 Releasedate: 2022-07-15 ```ruby pod 'DeviceKit', '~> 4.6' ``` ### Fixes - Fixes Carthage support. ([#288](https://github.com/devicekit/DeviceKit/pull/288))
iOS watchOS tvOS

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