* Initial plan
* Fix Apple Pencil compatibility for iPad models
* Add tests for Apple Pencil compatibility
* Add changelog entry and fix trailing whitespace in tests
* Fix linting issues.
* Fix changelog entry.
* Fix additional linting issues.
* Fix ApplePencilSupport OptionSet raw values to use non-overlapping bits
The firstGenerationUsbC raw value (0x03) overlapped with firstGeneration
(0x01) and secondGeneration (0x02), causing contains() checks to return
incorrect results. Changed to proper power-of-2 values.
* Initial plan
* Fix: Remove ultra-wide camera marking from iPhone Air
The iPhone Air only has a 48MP Fusion Main camera (wide), not an
ultra-wide camera. Changed camera value from 13 (wide + ultraWide) to
1 (wide only) in Device.swift.gyb and regenerated Device.generated.swift.
Co-authored-by: Zandor300 <6069593+Zandor300@users.noreply.github.com>
* Rebase on master and regenerate using new GYB instructions
Updated to use the new GYB command:
./Utils/gyb --line-directive '' -o ./Source/Device.generated.swift ./Source/Device.swift.gyb
Fix remains: iPhone Air camera value changed from 13 to 1 (wide only).
Co-authored-by: Zandor300 <6069593+Zandor300@users.noreply.github.com>
* Remove __pycache__ and add to .gitignore
Co-authored-by: Zandor300 <6069593+Zandor300@users.noreply.github.com>
* Add changelog entry for iPhone Air camera fix
Co-authored-by: Zandor300 <6069593+Zandor300@users.noreply.github.com>
* Move changelog entry to new Unreleased section
Co-authored-by: Zandor300 <6069593+Zandor300@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Zandor300 <6069593+Zandor300@users.noreply.github.com>
* Initial plan
* Add iPhone 17 series and Apple Watch Ultra 3/Series 11 to Device.swift.gyb template
* Fix Apple Watch Ultra 3 and Series 11 to use S10 chip instead of S11
* Add changelog entry for 5.7.0 and update version numbers
- Add changelog entry for version 5.7.0 with September 12th release date
- Include table of new iPhone 17 series and Apple Watch devices
- Update version to 5.7.0 in README.md, DeviceKit.podspec, and project.pbxproj
- Follow pattern from previous version releases
* Fix changelog.
* Build generated file after copilot gyb implementation.
* Make iPhone Air plus sized.
* More device attribute fixes.
* Update tests after adding new devices.
* Add changelog entry for Series 9 fix.
---------
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Zandor300 <6069593+Zandor300@users.noreply.github.com>
* Add support for iPhone 16e.
* Update changelog.
* Add support for iPad (A16), iPad Air 11-inch (M3), iPad Air 13-inch (M3)
* Updated GitHub actions.
* Actions: Use macos-14 image instead of arm image.
* ppi fixes as per apple tech specs
iPhone 14 Plus, iPhone 15 Plus
* Define PPI for iPhone 14/15 Plus in gyb file.
---------
Co-authored-by: Zandor Smith <info@zsinfo.nl>
* Initial support for iPhone 16 models and Apple Watch Series 10.
* Version bump. (v5.5.0)
* Add missing device identifiers for new September 2024 devices.
* Fix unit tests after adding new devices.
* Initial implementation of support for new May 2024 devices.
* Update Apple Pencil support.
* Update iPad device names and device identifiers.
* Rename new iPads enum values.
* Fix line inset.
* Fix tests after new devices added.
* Add changelog.
* Update changelog about extra ApplePencilSupport.
* Fix compile errors on visionOS.
# Conflicts:
# Source/Device.generated.swift
# Source/Device.swift.gyb
* Remove references to xrOS that are no longer applicable.
* Add TODO comments in code about visionOS proper implementation.
* Update changelog.
---------
Co-authored-by: Chris Vasselli <clindsay@gmail.com>
* Update documentation of `Device.current.name` to not work as of iOS 16.0
* Add link to documentation and build Swift file.
---------
Co-authored-by: Zandor Smith <info@zsinfo.nl>
* Add canvas detection
* Move isCanvas to include it on tvOS and watchOS.
* Remove additional whitespace.
* Add optional return value to isCanvas and return nil if the current instance isn't the current device.
* Fix broken test on non iOS/iPadOS platforms.
Co-authored-by: Zandor Smith <info@zsinfo.nl>
* Implement support for new October 2022 iPads.
* Add support urls to iPhone 14 series and September 2022 Apple Watch devices.
* Add changelog entry.
* Version bump. (v4.8.0)
* Change releasedate in changelog.
* Add missing Apple Watch Series 7.
* Initial implementation for iPhone 14.
* Initial implementation for Apple Watch Series 8, Apple Watch SE 2 and Apple Watch Ultra and fix iPhone 14 Plus.
* Add missing device identifiers and fix Apple Watch Series 7 and 8 housing size.
* Add changelog entry for 4.7.0.
* Fix tests.
* Fix the `Device.systemName` property
iPadOS system name for iPads was taken into account
* Add test for systemName.
* Fix compile error on Apple TV.
Co-authored-by: Zandor Smith <info@zsinfo.nl>
* Add iPhone SE (3rd generation) and iPad Air (5th generation) support.
* Fix tests.
* Add device identifier for iPhone SE (3rd generation)
* Version bump (4.6.0) and update changelog.
* Fix testIsPhoneIsPadIsPod test.
* Add device identifiers for iPad Air (5th generation)
* Use Python 3 for gyb.
* Adjust release date.
* Add support URL and images for iPhone SE (3rd generation).
* fix release date due to sick leave
* correct version in readme
Co-authored-by: Denise Nepraunig <denise.nepraunig@gmail.com>
* Reverse aspect ratio of iPad Mini (6th generation)
* Add missing support url and images.
* Version bump and changelog entry.
* release date and readme
Co-authored-by: Denise Nepraunig <denise.nepraunig@gmail.com>
* Add support for new September 14th 2021 devices.
* Remove support for Apple Watch Series 7.
Because it will be available on the fall, we won't know device identifiers, so it doesn't make sense to add support yet.
* Added device identifiers for the iPads and iPhones.
* Added Changelog.
* Version bump. (v4.5.0)
* well, I don't really know how to fix this now...
Co-authored-by: Denise Nepraunig <denise.nepraunig@gmail.com>
* Add initial support for iPad Pro (11 inch) (3rd generation) and iPad Pro (12.9 inch) (5th generation).
* Add initial support of Apple TV 4K (2nd generation).
* Add trailing comma to prevent having to change the previous line when new devices get added.
* Update changelog.
* Add device identifiers for both iPad Pros and Apple TV 4K (2nd generation).
* Version bump in Xcode project. (4.4.0)
* Update changelog.
* Update Tests.swift
fix tests for April devices
* podspec 4.4.0
Co-authored-by: Denise Nepraunig <denise.nepraunig@gmail.com>
* Add support urls and images for iPhone 12, 12 Pro and iPad Air (4th gen)
* Fix iPhone 12 Pro Max and iPhone 12 mini tech specs and support image urls.
* Version bump to 4.3.0 and added changelog entry.
* Fix the aspect ratio of iPad Air (4th generation).
* Specify that iPhone 12 Pro (Max) also are sporting a LiDAR sensor.
* Update changelog and bump version to v4.2.1.
* Add links to pull request and issues.
* Fix LiDAR test.
* Add support for all iPhone 12 models and iPad Air (4th generation)
Device identifiers missing for iPhones.
Support link and image missing for iPhones and iPad.
* Bump version to 4.2.0.
* Update changelog.
* Add device identifiers for all iPhone 12.
* Fix Unit tests.
* Update v4.2.0 release date in CHANGELOG.md.
* Add iPad (8th generation) and Apple Watch SE and Series 6
Still missing device identifiers, support URLs and support images.
* Add changelog for 4.1.0 release.
* Add support and image urls and device identifiers for Apple Watch SE/6 and iPad 8
* Update changelog date.
* Fix Apple Watch Series 6 and SE not featuring Force Touch.
* Add support for the new iPhone SE (2nd generation).
* Add device identifier for iPhone SE (2nd generation)
Source: theiphonewiki.com
* Add support link and Apple Care image of iPhone SE.
Also compile to propogate the device identifier to the gyb file.
* Update changelog.
* Add support for the 2020 iPad Pro.
* Add variables for checking if device has a LiDAR sensor.
* Add test for LiDAR values.
* Added correct device identifiers and documentation for new iPad Pro 2020.
* Fix testIsPro test.
* Updated changelog for 3.1.0.
* Added LiDAR function to changelog.