All Versions
14
Latest Version
Avg Release Cycle
46 days
Latest Release
-

Changelog History
Page 1

  • v3.0.0

    🚀 Releasedate: TBD

    pod 'DeviceKit', :git => 'https://github.com/devicekit/DeviceKit.git', :branch => 'master'
    

    💥 Breaking changes

    • The enum for the Apple TV HD has been renamed from .appleTV4 to .appleTVHD. (#211)

    🆕 New features

    • 👍 You can now check which devices support wireless charging through the following variables: Device.allDevicesWithWirelessChargingSupport and Device.current.supportsWirelessCharging (#209)

    ## Version 2.3.0

    Releasedate: 2019-10-02

      pod 'DeviceKit', '~> 2.3'
    

    ### New devices

    • Added support for the new september 2019 devices:
      • iPad (7th generation)
  • v2.3.0

    October 02, 2019

    🍱 Thank you @Zandor300🎉!

    🆕 New devices

    • ➕ Added support for the new September 2019 devices:
      • iPad (7th generation)
  • v2.2.0

    September 24, 2019

    🍱 Thank you to all the contributors and a special thanks to @Zandor300 🎉!

    🆕 New devices

    • ➕ Added support for the new September 2019 devices:
      • iPhone 11
      • iPhone 11 Pro
      • iPhone 11 Pro Max
      • Apple Watch Series 5

    👌 Support for iPad (7th generation) will be added later.

    🆕 New features

    • Device.current.cameras now has the .ultraWide camera type added for devices with that camera.
  • v2.1.0

    September 01, 2019

    🍱 Thank you for all for your contributions and a special thank you to @Zandor300! 🎉

    🆕 New features

    • ➕ Add support for the new iPod touch (7th generation) (#189)
    • ➕ Added Device.allApplePencilCapableDevices and Device.current.applePencilSupport variables for checking Apple Pencil support. (#179)
      • .applePencilSupport returns ApplePencilSupport.firstGeneration or ApplePencilSupport.secondGeneration for checking which Apple Pencil is supported.
    • ➕ Added 3D Touch (iOS) and Force Touch (watchOS) support variables: (#183)
      • iOS
      • Device.allDevicesWith3dTouchSupport
      • Device.current.has3dTouchSupport
      • watchOS
      • Device.allWatchesWithForceTouchSupport
      • Device.current.hasForceTouchSupport
    • ➕ Added variable to check for the camera's a device has. (#188)
      • Example: Device.iPhoneXS.cameras should return CameraTypes.normal and CameraTypes.telephoto.

    🛠 Fixes

    • 📇 Rename iPod touch 5 and 6 to iPod touch (5th generation) and iPod touch (6th generation) respectively. (#189)
    • 📇 Rename Apple TV (4th generation) to Apple TV HD to comply with Apple's rename of the device. (#196)
    • 👌 Improve support for Swift Package Manager. (#193)
    • 🛠 Fixed the Device.current.isZoomed variable. (#59 comment and #198)
  • v2.0.0

    April 10, 2019

    🔖 Version 2.0 release 🎉

    🚀 Thank you to all the contributors who made this release happen 💕 and a special thank you to @Zandor300 for all his effort and working closely with me to release this version 😊.

    💥 Breaking changes

    • The original Device() constructor has been made private in favour of using Device.current to match UIDevice.current.
    • The enum values for the iPhone Xs, iPhone Xs Max and iPhone Xʀ have been renamed to be .iPhoneXS, .iPhoneXSMax and .iPhoneXR to match proper formatting.
    • .description for the iPhone Xs, iPhone Xs Max and iPhone Xʀ have been changed to contain small caps formatting for the s and the ʀ part.
    • .description for the iPad 5 and iPad 6 have been changed to the proper names; iPad (5th generation) and iPad (6th generation).
    • .name, .systemName, .systemVersion, .model, .localizedModel, .batteryState and .batteryLevel will now all return nil when you try to get its value when the device you are getting it from isn't the current one. (eg. Device.iPad6.name while running on iPad 5)

    🆕 New features

    • ⚡️ Updated to Swift 5!
    • 🆕 New .allDevicesWithRoundedDisplayCorners and .hasRoundedDisplayCorners values to check if a device has rounded display corners. (eg. iPhone Xs and iPad Pro (3rd generation))
    • 🆕 new .allDevicesWithSensorHousing and .hasSensorHousing values to check if a device has a screen cutout for the sensor housing. (eg. iPhone Xs)

    🛠 Bugfixes

    • .isPad and .isPhone are now giving correct outputs again.
  • v1.13.0

    March 29, 2019

    🚀 Releasedate: 2019-03-29

    pod 'DeviceKit', '~> 1.13'
    

    🆕 New iPads

    ➕ Added new iPad Mini (5th generation) and iPad Air (3rd generation)

    Device.iPadMini5 // iPad Mini (5th generation)
    Device.iPadAir3 // iPad Air (3rd generation)
    
  • v1.12.0

    March 25, 2019
  • v1.11.0

    December 12, 2018

    Thank you @phimage for this!

  • v1.10.0

    November 01, 2018
  • v1.9.0

    October 11, 2018

    👍 Yes, you read that right, watchOS support.

    Huge thanks to @robbiet480 for implementing this 100%