Skip to content

AppKit macOS xcode13.1 rc

Alex Soto edited this page Oct 26, 2021 · 2 revisions

#AppKit.framework https://github.com/xamarin/xamarin-macios/pull/13113

diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.apinotes /Applications/Xcode_13.1.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.apinotes
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.apinotes	2021-08-05 00:19:38.000000000 -0400
+++ /Applications/Xcode_13.1.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.apinotes	2021-09-12 23:01:22.000000000 -0400
@@ -5915,6 +5915,14 @@
   - Selector: "initWithScrollView:orientation:"
     MethodKind: Instance
     DesignatedInit: true
+- Name: NSScreen
+  Properties:
+  - Name: auxiliaryTopLeftArea
+    PropertyKind: Instance
+    SwiftPrivate: true
+  - Name: auxiliaryTopRightArea
+    PropertyKind: Instance
+    SwiftPrivate: true
 - Name: NSScroller
   Methods:
   - Selector: "drawArrow:highlight:"
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSScreen.h /Applications/Xcode_13.1.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSScreen.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSScreen.h	2021-08-07 05:21:32.000000000 -0400
+++ /Applications/Xcode_13.1.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSScreen.h	2021-09-18 08:44:30.000000000 -0400
@@ -56,6 +56,13 @@
 
 @property (readonly, copy) NSString *localizedName API_AVAILABLE(macos(10.15));
 
+/* Indicates the obscured distance from each edge of the screen */
+@property (readonly) NSEdgeInsets safeAreaInsets API_AVAILABLE(macos(12.0));
+
+/* The following two rects are at the top of the screen, outside the rectangle defined by safeAreaInsets, but also unobscured.  These rects are empty if there are no additional unobscured areas */
+@property (readonly) NSRect auxiliaryTopLeftArea API_AVAILABLE(macos(12.0));
+@property (readonly) NSRect auxiliaryTopRightArea API_AVAILABLE(macos(12.0));
+
 @end
 
 
Clone this wiki locally