Skip to content

AppKit macOS xcode26.1 b3

Alex Soto edited this page Oct 20, 2025 · 1 revision

#AppKit.framework

diff -ruN /Applications/Xcode_26.1.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.h /Applications/Xcode_26.1.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.h
--- /Applications/Xcode_26.1.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.h	2025-09-30 23:58:09
+++ /Applications/Xcode_26.1.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.h	2025-10-16 01:57:50
@@ -126,6 +126,7 @@
 #import <AppKit/NSSavePanel.h>
 #import <AppKit/NSMediaLibraryBrowserController.h>
 #import <AppKit/NSScreen.h>
+#import <AppKit/NSScrollEdgeEffect.h>
 #import <AppKit/NSScrollView.h>
 #import <AppKit/NSScroller.h>
 #import <AppKit/NSSegmentedControl.h>
diff -ruN /Applications/Xcode_26.1.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSScrollEdgeEffect.h /Applications/Xcode_26.1.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSScrollEdgeEffect.h
--- /Applications/Xcode_26.1.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSScrollEdgeEffect.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.1.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSScrollEdgeEffect.h	2025-10-16 01:58:04
@@ -0,0 +1,35 @@
+/*
+ NSScrollEdgeEffect.h
+ Application Kit
+ Copyright (c) 2025, Apple Inc.
+ All rights reserved.
+ */
+
+#import <AppKit/AppKitDefines.h>
+#import <Foundation/Foundation.h>
+
+APPKIT_API_UNAVAILABLE_BEGIN_MACCATALYST
+NS_ASSUME_NONNULL_BEGIN
+
+/// Styles for a scroll view’s edge effect.
+NS_SWIFT_UI_ACTOR
+API_AVAILABLE(macos(26.1))
+__attribute__((objc_subclassing_restricted))
+@interface NSScrollEdgeEffectStyle : NSObject
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+/// The automatic scroll edge effect style.
+@property (class, strong, readonly) NSScrollEdgeEffectStyle *automaticStyle;
+
+/// A scroll edge effect with a soft edge.
+@property (class, strong, readonly) NSScrollEdgeEffectStyle *softStyle;
+
+/// A scroll edge effect with a hard cutoff.
+@property (class, strong, readonly) NSScrollEdgeEffectStyle *hardStyle;
+
+@end
+
+NS_ASSUME_NONNULL_END
+API_UNAVAILABLE_END
diff -ruN /Applications/Xcode_26.1.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSSplitViewItemAccessoryViewController.h /Applications/Xcode_26.1.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSSplitViewItemAccessoryViewController.h
--- /Applications/Xcode_26.1.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSSplitViewItemAccessoryViewController.h	2025-09-30 23:58:13
+++ /Applications/Xcode_26.1.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSSplitViewItemAccessoryViewController.h	2025-10-16 01:57:56
@@ -8,6 +8,7 @@
 #import <AppKit/NSViewController.h>
 #import <AppKit/AppKitDefines.h>
 #import <AppKit/NSAnimation.h>
+#import <AppKit/NSScrollEdgeEffect.h>
 
 NS_HEADER_AUDIT_BEGIN(nullability, sendability)
 APPKIT_API_UNAVAILABLE_BEGIN_MACCATALYST
@@ -27,6 +28,13 @@
 - (void)viewDidAppear NS_REQUIRES_SUPER;
 - (void)viewWillDisappear NS_REQUIRES_SUPER;
 - (void)viewDidDisappear NS_REQUIRES_SUPER;
+
+/// The split view item accessory’s preferred effect for content scrolling behind it.
+///
+/// To allow for a soft edge on the interior edge of a titlebar accessory:
+///
+///     splitViewItemAccessoryViewController.preferredScrollEdgeEffectStyle = NSScrollEdgeEffectStyle.softStyle;
+@property (strong) NSScrollEdgeEffectStyle *preferredScrollEdgeEffectStyle API_AVAILABLE(macos(26.1));
 
 @end
 
diff -ruN /Applications/Xcode_26.1.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTitlebarAccessoryViewController.h /Applications/Xcode_26.1.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTitlebarAccessoryViewController.h
--- /Applications/Xcode_26.1.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTitlebarAccessoryViewController.h	2025-09-30 23:58:14
+++ /Applications/Xcode_26.1.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTitlebarAccessoryViewController.h	2025-10-16 01:57:56
@@ -5,9 +5,10 @@
     All rights reserved.
 */
 
-#import <AppKit/NSViewController.h>
-#import <AppKit/NSLayoutConstraint.h>
 #import <AppKit/AppKitDefines.h>
+#import <AppKit/NSLayoutConstraint.h>
+#import <AppKit/NSScrollEdgeEffect.h>
+#import <AppKit/NSViewController.h>
 
 @class NSClipView;
 
@@ -61,6 +62,13 @@
    NOTE: NSTitlebarAccessoryViewController will observe the view's frame for changes. You can change the view's frame in a direction that "makes sense". For instance, changing the height when the layoutAttribute is NSLayoutAttributeBottom, or changing the width when the layoutAttribute is NSLayoutAttributeRight. The other size direction will automatically be filled to the maximum size as required for the window.
 
  */
+
+/// The titlebar accessory’s preferred effect for content scrolling behind it.
+///
+/// To allow for a soft edge on the bottom edge of a titlebar accessory:
+///
+///     titlebarAccessoryViewController.preferredScrollEdgeEffectStyle = NSScrollEdgeEffectStyle.softStyle;
+@property (strong) NSScrollEdgeEffectStyle *preferredScrollEdgeEffectStyle API_AVAILABLE(macos(26.1));
 
 @end
 
Clone this wiki locally