github devicekit/DeviceKit 2.1.0
Version 2.1.0

latest releases: 5.2.3, 5.2.2, 5.2.1...
4 years ago

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)

Don't miss a new DeviceKit release

NewReleases is sending notifications on new releases.