Skip to content

UIKit watchOS xcode14.0 beta3

Manuel de la Pena edited this page Aug 18, 2022 · 5 revisions

#UIKit.framework https://github.com/xamarin/xamarin-macios/pull/15694

diff -ruN /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGeometry.h /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGeometry.h
--- /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGeometry.h	2022-06-17 13:30:25.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGeometry.h	2022-06-30 21:10:56.000000000 -0500
@@ -19,9 +19,9 @@
 #ifdef FOUNDATION_HAS_DIRECTIONAL_GEOMETRY
 typedef NSEdgeInsets UIEdgeInsets;
 #else
-typedef struct __attribute__((objc_boxable)) UIEdgeInsets {
+typedef struct __attribute__((objc_boxable)) NS_SWIFT_SENDABLE UIEdgeInsets {
     CGFloat top, left, bottom, right;  // specify amount to inset (positive) for each of the edges. values can be negative to 'outset'
-} UIEdgeInsets NS_SWIFT_SENDABLE;
+} UIEdgeInsets;
 #endif // FOUNDATION_HAS_DIRECTIONAL_GEOMETRY
 
 /* Geometry type declarations marked with `#ifndef FOUNDATION_HAS_DIRECTIONAL_GEOMETRY` are being relocated to Foundation/NSGeometry.h */
@@ -31,16 +31,16 @@
 
 /* Specifically for use in methods and functions supporting user interface layout direction
  */
-typedef struct __attribute__((objc_boxable)) NSDirectionalEdgeInsets {
+typedef struct __attribute__((objc_boxable)) NS_SWIFT_SENDABLE NSDirectionalEdgeInsets {
     CGFloat top, leading, bottom, trailing;  // specify amount to inset (positive) for each of the edges. values can be negative to 'outset'
-} NSDirectionalEdgeInsets API_AVAILABLE(ios(11.0),tvos(11.0),watchos(4.0)) NS_SWIFT_SENDABLE;
+} NSDirectionalEdgeInsets API_AVAILABLE(ios(11.0),tvos(11.0),watchos(4.0));
 
 #endif // UIKIT_HAS_UIFOUNDATION_SYMBOLS
 #endif // FOUNDATION_HAS_DIRECTIONAL_GEOMETRY
 
-typedef struct __attribute__((objc_boxable)) UIOffset {
+typedef struct __attribute__((objc_boxable)) NS_SWIFT_SENDABLE UIOffset {
     CGFloat horizontal, vertical; // specify amount to offset a position, positive for right or down, negative for left or up
-} UIOffset NS_SWIFT_SENDABLE;
+} UIOffset;
 
 typedef NS_OPTIONS(NSUInteger, UIRectEdge) {
     UIRectEdgeNone   = 0,
diff -ruN /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes
--- /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes	2022-06-15 22:36:44.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes	2022-06-28 22:19:15.000000000 -0500
@@ -999,10 +999,20 @@
   SwiftName: UIWindowScene.ActivationInteraction
 - Name: UIWindowSceneGeometry
   SwiftName: UIWindowScene.Geometry
+- Name: UIWindowSceneGeometryPreferencesIOS
+  SwiftName: UIWindowSceneGeometryPreferences.iOS
+  Methods:
+    - Selector: 'preferencesWithInterfaceOrientations:'
+      MethodKind: Class
+      SwiftPrivate: true
+- Name: UIWindowSceneGeometryPreferencesMac
+  SwiftName: UIWindowSceneGeometryPreferences.Mac
+  Methods:
+    - Selector: 'preferencesSystemFrame:'
+      MethodKind: Class
+      SwiftPrivate: true
 - Name: UIWindowSceneGeometryPreferences
   SwiftName: UIWindowScene.GeometryPreferences
-- Name: UIWindowSceneMacGeometryPreferences
-  SwiftName: UIWindowScene.MacGeometryPreferences
 - Name: UISheetPresentationControllerDetent
   SwiftName: UISheetPresentationController.Detent
   Methods:
@@ -1052,6 +1062,10 @@
   - Name: 'configuration'
     PropertyKind: Instance
     SwiftPrivate: true
+  Methods:
+  - Selector: "supportsConfiguration:"
+    MethodKind: Instance
+    SwiftPrivate: true
 - Name: UIAppearance
   Methods:
   - Selector: 'appearanceWhenContainedInInstancesOfClasses:'
diff -ruN /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h
--- /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h	2022-06-15 01:40:11.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h	2022-06-25 01:31:52.000000000 -0500
@@ -283,7 +283,8 @@
 #import <UIKit/UISceneActivationConditions.h>
 #import <UIKit/UIWindowSceneGeometry.h>
 #import <UIKit/UIWindowSceneGeometryPreferences.h>
-#import <UIKit/UIWindowSceneMacGeometryPreferences.h>
+#import <UIKit/UIWindowSceneGeometryPreferencesMac.h>
+#import <UIKit/UIWindowSceneGeometryPreferencesIOS.h>
 #import <UIKit/UIOpenURLContext.h>
 #import <UIKit/UIStatusBarManager.h>
 #import <UIKit/UIScreenshotService.h>
Clone this wiki locally