Skip to content

Commit

Permalink
Update to Xcode 16.1
Browse files Browse the repository at this point in the history
NSWritingToolsAllowedInputOptions was removed, but we didn't expose that
yet (it was added in Xcode 16.0), so I've left it out of the changelog.
  • Loading branch information
madsmtm committed Nov 25, 2024
1 parent f8568b0 commit 6ab3ab4
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 9 deletions.
2 changes: 1 addition & 1 deletion crates/header-translator/src/stmt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1854,7 +1854,7 @@ impl Stmt {
// The object inherits from `NSObject` or `NSProxy` no
// matter what the generic type is, so this must be
// safe.
("Foundation", "NSObjectProtocol") => ("?Sized", None),
("objc2", "NSObjectProtocol") => ("?Sized", None),
// Encoding and decoding requires that the inner types
// are codable as well.
("Foundation", "NSCoding") => ("?Sized + NSCoding", None),
Expand Down
6 changes: 5 additions & 1 deletion crates/objc2/src/topics/about_generated/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
* **BREAKING**: Renamed `from_id_slice` to `from_retained_slice`.
* **BREAKING**: Renamed `NSString::as_str` to `to_str`, and made it `unsafe`,
since we cannot ensure that the given pool is actually the innermost pool.
* Updated SDK from Xcode 15.4 to 16.0.
* Updated SDK from Xcode 15.4 to 16.1.

View the release notes to learn more details:
- [16.0](https://developer.apple.com/documentation/xcode-release-notes/xcode-16-release-notes)
- [16.1](https://developer.apple.com/documentation/xcode-release-notes/xcode-16_1-release-notes)

Breaking changes are noted elsewhere in this changelog entry.
* **BREAKING**: `NSWindowSharingReadWrite` was deprecated, and moved from
Expand Down Expand Up @@ -134,6 +135,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- `MEMessageSecurityHandler`
- `PHContentEditingController`
- `PHLivePhotoViewDelegate`
- `NSCollectionView*` classes
- `NSCollectionLayout*` classes and protocols
- `NSTableColumn`
- A bunch of things in `WebKit`.
* **BREAKING**: Marked methods on the `NSObjectUIAccessibility` category as
`MainThreadOnly`.
Expand Down
12 changes: 6 additions & 6 deletions crates/objc2/src/topics/about_generated/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ for the [`block2`] crate for how to call such methods using a closure.

## Currently supported versions

- macOS: `10.12-15.0`
- iOS/iPadOS: `10.0-18.0` (WIP)
- tvOS: `10.0-18.0` (WIP)
- watchOS: `5.0-11.0` (WIP)
- visionOS: `1.0-2.0` (WIP)
- macOS: `10.12-15.1`
- iOS/iPadOS: `10.0-18.1` (WIP)
- tvOS: `10.0-18.1` (WIP)
- watchOS: `5.0-11.1` (WIP)
- visionOS: `1.0-2.1` (WIP)

These bindings are currently generated from the SDKs in Xcode 16.0.
These bindings are currently generated from the SDKs in Xcode 16.1.
The Xcode version will be periodically updated.
12 changes: 12 additions & 0 deletions framework-crates/objc2-health-kit/Cargo.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion generated
Submodule generated updated 78 files
+62 −25 AppKit/NSCollectionViewCompositionalLayout.rs
+2 −2 AppKit/NSCollectionViewFlowLayout.rs
+1 −1 AppKit/NSCollectionViewGridLayout.rs
+15 −10 AppKit/NSCollectionViewLayout.rs
+1 −1 AppKit/NSCollectionViewTransitionLayout.rs
+4 −0 AppKit/NSRunningApplication.rs
+4 −3 AppKit/NSTableColumn.rs
+0 −41 AppKit/NSTextCheckingClient.rs
+0 −13 AppKit/NSTextView.rs
+0 −2 AppKit/mod.rs
+2 −0 CoreLocation/CLServiceSession.rs
+6 −0 HealthKit/HKActivitySummaryQuery.rs
+6 −0 HealthKit/HKAnchoredObjectQuery.rs
+4 −0 HealthKit/HKAttachment.rs
+17 −0 HealthKit/HKAudiogramSample.rs
+18 −0 HealthKit/HKAudiogramSensitivityPoint.rs
+57 −0 HealthKit/HKAudiogramSensitivityPointClampingRange.rs
+107 −0 HealthKit/HKAudiogramSensitivityTest.rs
+6 −0 HealthKit/HKCategorySample.rs
+20 −0 HealthKit/HKCharacteristicObjects.rs
+6 −0 HealthKit/HKClinicalType.rs
+6 −0 HealthKit/HKContactsLensSpecification.rs
+14 −0 HealthKit/HKContactsPrescription.rs
+6 −0 HealthKit/HKCorrelation.rs
+6 −0 HealthKit/HKCorrelationQuery.rs
+14 −0 HealthKit/HKCumulativeQuantitySample.rs
+16 −0 HealthKit/HKCumulativeQuantitySeriesSample.rs
+4 −0 HealthKit/HKDeletedObject.rs
+4 −0 HealthKit/HKDevice.rs
+14 −0 HealthKit/HKDiscreteQuantitySample.rs
+6 −0 HealthKit/HKDocumentQuery.rs
+6 −0 HealthKit/HKDocumentSample.rs
+6 −0 HealthKit/HKElectrocardiogram.rs
+10 −0 HealthKit/HKElectrocardiogramQuery.rs
+6 −0 HealthKit/HKGlassesLensSpecification.rs
+14 −0 HealthKit/HKGlassesPrescription.rs
+6 −0 HealthKit/HKHeartbeatSeriesBuilder.rs
+6 −0 HealthKit/HKHeartbeatSeriesQuery.rs
+6 −0 HealthKit/HKHeartbeatSeriesSample.rs
+4 −0 HealthKit/HKLensSpecification.rs
+6 −0 HealthKit/HKLiveWorkoutBuilder.rs
+4 −0 HealthKit/HKLiveWorkoutDataSource.rs
+4 −0 HealthKit/HKObject.rs
+8 −0 HealthKit/HKObjectType.rs
+6 −0 HealthKit/HKObserverQuery.rs
+6 −0 HealthKit/HKQuantitySample.rs
+4 −0 HealthKit/HKQuantitySeriesSampleBuilder.rs
+6 −0 HealthKit/HKQuantitySeriesSampleQuery.rs
+8 −4 HealthKit/HKQuery.rs
+4 −0 HealthKit/HKQueryDescriptor.rs
+6 −0 HealthKit/HKSample.rs
+6 −0 HealthKit/HKSampleQuery.rs
+4 −0 HealthKit/HKSeriesBuilder.rs
+6 −0 HealthKit/HKSeriesSample.rs
+4 −0 HealthKit/HKSource.rs
+6 −0 HealthKit/HKSourceQuery.rs
+4 −0 HealthKit/HKSourceRevision.rs
+4 −0 HealthKit/HKStatistics.rs
+10 −0 HealthKit/HKStatisticsCollectionQuery.rs
+6 −0 HealthKit/HKStatisticsQuery.rs
+6 −0 HealthKit/HKVerifiableClinicalRecordQuery.rs
+6 −0 HealthKit/HKVisionPrescription.rs
+4 −0 HealthKit/HKVisionPrism.rs
+10 −0 HealthKit/HKWorkout.rs
+4 −0 HealthKit/HKWorkoutActivity.rs
+4 −0 HealthKit/HKWorkoutBuilder.rs
+10 −0 HealthKit/HKWorkoutEffortRelationshipQuery.rs
+6 −0 HealthKit/HKWorkoutRoute.rs
+6 −0 HealthKit/HKWorkoutRouteBuilder.rs
+6 −0 HealthKit/HKWorkoutRouteQuery.rs
+4 −0 HealthKit/HKWorkoutSession.rs
+14 −0 HealthKit/mod.rs
+2 −0 NetworkExtension/NEProvider.rs
+105 −0 SystemExtensions/mod.rs
+55 −0 UIKit/UIAccessibility.rs
+4 −0 UIKit/UIMenu.rs
+4 −0 UIKit/UIPress.rs
+11 −0 UIKit/mod.rs

0 comments on commit 6ab3ab4

Please sign in to comment.