* Add boolean and array functions to check if the device has a sensor housing.
* Move variables together.
* Rename allDevicesWithASensorHousing to allDevicesWithSensorHousing.
* Create allDevicesWithRoundedDisplayCorners and hasRoundedDisplayCorners variables.
* Create branch for 2.0 changes.
* Rename iPhone Xs to XS and Xr to XR (fixes https://github.com/dennisweissmann/DeviceKit/issues/149)
* Fixed generation of allDevicesWithSensorHousing and hasSensorHousing through the gyb file.
* Check if device is current.
* Fixed formatting.
* Check for current device in isZoomed.
* Add documentation to the isCurrent variable.
* Add static current variable and make the initialiser private.
* Revert commit used to create the patch branch in my fork.
* Fixed readme so that it also contains the rename of XS and XR.
* Check for isCurrent on the isPhone and isPad variables when DeviceKit hasn't been updated for a new device yet. (Fixes https://github.com/dennisweissmann/DeviceKit/issues/165)
* Change device description to use small caps on iPhone XS (Max) and iPhone XR.
* Changed all if !isCurrent statements to guards.
* Remove .instance and the initialiser and completely move over to .current.
* Fixed names of iPad 3, 4, 5 and 6.
* Fix https://github.com/dennisweissmann/DeviceKit/pull/166 not being added through the gyb file.
* Fix documentation inside code to use Device.current instead of the constructor.
* Fixed readme to use Device.current instead of the constructor.
* Add new iPad Air (3th generation) and iPad Mini (5th generation).
* Revert https://github.com/Zandor300/DeviceKit/commit/3eec7cde1dc54da1a7bb91eea32c75749fe6d0bb
* Update to Swift 5.
* Update tests for breaking changes.
* Fix merge.
* Fixed code alignment.
* Fixed trailing whitespace violations.
* Disable the function_body_length rule on mapToDevice(String).
Since this function is generated with a switch for all devices, this needs to be this long.
* Use Xcode 10.2 to build and test the project.
This is required because Swift 5 isn't supported in Xcode 10.1.
* Set .swift-version to 5.0
* Fixed description tests.
* Add iPad (6th gen), iPad Air (3rd gen) and iPad Mini (5th gen) to the description test.
* Fixed one test that still used Device().
* Created new test to prevent https://github.com/devicekit/DeviceKit/issues/165 from happening again.
* Disable the function_body_length swiftlint rule on the testDescription().
* Added a bunch of tech specs and image links where missing.
* Fixed spacing and another couple urls.
* Add Swift 5 information to the readme.
* Add a default case to the switch to cover future additions to WKInterfaceDeviceBatteryState. (Thanks robbiet480)
updated code example to include the following device [..,.simulator(.iPhone8),.simulator(.iPhone8Plus),.simulator(.iPhoneX),.simulator(.iPhoneXs),.simulator(.iPhoneXsMax),.simulator(.iPhoneXr)]
Added known ppi values for applicable devices.
Unit test added and verified with the devices public information in WikiPedia.
Applicable devices are all devices that include a screen, so basically all the iPhones and Ipads.
Unaplicable devices are devices whose screen is not part of the device itself, such as the AppleTV and the Simulators.