Commit Graph

65 Commits

Author SHA1 Message Date
Zandor Smith d3fdeb28b3 Changelog v4.0.0 (#252)
* Update CHANGELOG.md

* Update README.md
2020-09-04 15:24:05 +02:00
Denise Nepraunig 446e3ab022 3.2.0 release 2020-04-29 19:53:05 +02:00
Denise Nepraunig c136938866 3.1.0 release 2020-03-29 20:54:56 +02:00
Denise Nepraunig 9625ce4f05 3.0.0 release 2020-01-19 20:15:13 +01:00
Denise Nepraunig 4a1c9aa580 2.3.0 release 2019-10-02 09:29:32 +02:00
Denise Nepraunig bb9394057b 2.2.0 release 2019-09-24 08:51:30 +02:00
Denise Nepraunig 8290430ba2 prep for 2.1.0 release 2019-09-01 15:51:45 +02:00
Zandor Smith 7bc49e059e Add Apple Pencil feature, change headings for breaking changes in README.md (#181) 2019-05-02 17:34:52 +02:00
Denise Nepraunig 9158453d38 delete 'Swift 5' branch in README.md - master is on Swift 5 2019-04-10 17:28:19 +02:00
Denise Nepraunig 4f8ef70198 Update README.md with changelog for version 2.0
Putting Zandor300's changelog from the PR comment section (for version 2.0 with the breaking changes) into the README.md
2019-04-10 17:22:53 +02:00
Zandor Smith 802e4052c6 Breaking changes for 2.0 (#168)
* 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)
2019-04-10 16:48:31 +02:00
Zandor Smith 8a65688a62 Fixed logo url in README.md 2019-03-26 19:37:38 +01:00
Denise Nepraunig 974a8227ee Update README after moving repo to DeviceKit org
Updated the links in the README.md file after moving the repository to the DeviceKit organization.
2019-03-25 13:44:33 +01:00
Abdullah ccf3d2273f Update README.md
updated code example to include  the following device [..,.simulator(.iPhone8),.simulator(.iPhone8Plus),.simulator(.iPhoneX),.simulator(.iPhoneXs),.simulator(.iPhoneXsMax),.simulator(.iPhoneXr)]
2018-12-19 10:35:48 +01:00
Dennis Weissmann b40373e4b0 add new download tag to readme 2018-10-26 15:54:10 +02:00
Dennis Weissmann a7d33b0004 bump version to 1.9.0 🎉 2018-10-11 22:06:37 +02:00
Dennis Weissmann f208a9dac3 fix readme 2018-09-18 19:21:44 +02:00
Dennis Weissmann c4693822ea backwards compatability with Swift < 4.2 2018-09-18 19:12:18 +02:00
Dennis Weissmann 36349e5c61 update documentation 2018-09-17 10:03:59 +02:00
Dennis Weissmann 300f709a4b increase version number to 1.8.0 2018-09-17 09:40:04 +02:00
Dennis Weissmann cf28f798f0 add support for real device 2018-09-09 15:39:47 +02:00
Dennis Weissmann 1736072920 add available disk space methods to readme and playground 2018-09-09 15:22:17 +02:00
Shiva Huang 6aecdad930 Add Description
Add description for how to use Playground.
2018-05-12 18:11:31 +02:00
Iulian Onofrei 44da42eeb4 Add documentation improvements 2018-04-14 16:32:15 +02:00
Dennis Weissmann 20649b9818 bump version to 1.7.0
correct readme
update bundle
2018-04-13 18:43:46 +02:00
Dennis Weissmann 91e968fe10 release version 1.6.0 2018-04-04 21:52:14 +02:00
Dennis Weissmann fa95799848 reset UIDevice.current.isBatteryMonitoringEnabled to the value it had before we set it to true
add documentation
2018-04-04 21:52:14 +02:00
Dennis Weissmann 1edcc9fd3b Include Code Climate badge in readme
and link to GitHub generated (always up-to-date) list of contributors
2018-02-25 17:51:50 +01:00
Dennis Weissmann 15c66e624b release 1.5.0 2018-01-29 11:34:03 +01:00
Martin Imobersteg 46f3cb5721 Add screen brightness sample 2018-01-29 10:09:22 +01:00
Martin Imobersteg 3d846eb06e Added check for Guided Access session 2018-01-29 10:09:22 +01:00
Gianpiero 24b7b9f425 Low Power mode check
Added Low Power mode checker into BatteryState
2018-01-26 09:21:31 +01:00
Dennis Weissmann ea8672f566 update version overview 2017-09-17 13:52:12 +02:00
Juan Carlos Ospina Gonzalez aa4e3120f6 Updated README.md
Fixed contributor's list is in Alphabetical order.
2017-07-26 23:27:31 +02:00
Juan Carlos Ospina Gonzalez 6e44a31517 Added ppi feature
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.
2017-07-26 23:27:31 +02:00
Dennis Weissmann 49abe10075 start using codecov.io for code coverage reporting
improve test coverage
2017-07-08 13:59:28 +02:00
Dennis Weissmann 7c0224993b add support for the 10.5 inch iPad Pro
state the source of the identifiers in the readme
2017-06-08 07:13:27 +02:00
Dennis Weissmann b09c5cf07b update readme (logo)
serve the logo from rawgit.com
2017-03-26 13:09:51 +02:00
Dennis Weissmann 8bcfbc99ba Update README.md
fix table layout
2017-03-11 22:21:03 +01:00
Dennis Weissmann e095bee3f7 Update README.md
add a table with CI information
2017-03-11 22:19:09 +01:00
Dennis Weissmann b338d8303a Update README.md
sort the contributors really alphabetically
2017-02-05 14:08:29 +01:00
Dennis Weissmann 69b2a86ce4 adds logo and contributors to readme
Thank you everyone <3
2017-02-05 14:05:12 +01:00
Dennis Weissmann fa939cd8b8 update readme
Adjust syntax for Swift 3, correct typos
fixes #52, thanks @LeonardoCardoso
2016-10-28 22:27:09 +02:00
Dennis Weissmann ce4725cfae bump version to 1.0.0 (thank you everyone!!!) 2016-09-10 23:04:24 +02:00
Dennis Weissmann d41172636c enables more swiftlint rules
bumps version to 0.3.4
use 2-space indentation
adds documentation
2016-08-26 14:39:31 +02:00
Dennis Weissmann 5bbe302f75 bump CocoaPods version 2016-08-09 11:24:17 +02:00
Dennis Weissmann 1c8d9a9663 new release (0.3.2) 2016-04-03 12:49:33 +02:00
Dennis Weissmann 97c1cb7a0e further clarified that Xcode 7.3 is required by 0.3.1 2016-02-21 11:57:07 +01:00
Dennis Weissmann 7993dad49f Made it explicit that v0.3.1 requires Xcode 7.3 2016-02-21 01:59:33 +01:00
Dennis Weissmann ecc2cecd26 added support for CarPlay InterfaceIdiom
compatible with Xcode 7.3+
2016-02-20 22:52:06 +01:00