-
Notifications
You must be signed in to change notification settings - Fork 517
WebKit macOS xcode16.2 b2
Rolf Bjarne Kvinge edited this page Dec 2, 2024
·
2 revisions
#WebKit.framework https://github.com/xamarin/xamarin-macios/pull/21733
diff -ruN /Applications/Xcode_16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKDownload.h /Applications/Xcode_16.2.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKDownload.h
--- /Applications/Xcode_16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKDownload.h 2024-10-10 01:44:24
+++ /Applications/Xcode_16.2.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKDownload.h 2024-10-31 02:32:13
@@ -49,6 +49,12 @@
/* @abstract The delegate that receives progress updates for this download. */
@property (nonatomic, weak) id <WKDownloadDelegate> delegate;
+/* @abstract A boolean value indicating whether this download was initiated by the user. */
+@property (nonatomic, readonly, getter=isUserInitiated) BOOL userInitiated API_AVAILABLE(macos(15.2), ios(NA));
+
+/* @abstract The frame that originated this download. */
+@property (nonatomic, readonly) WKFrameInfo *originatingFrame API_AVAILABLE(macos(15.2), ios(NA));
+
/* @abstract Cancel the download.
@param completionHandler A block to invoke when cancellation is finished.
@discussion To attempt to resume the download, call WKWebView resumeDownloadFromResumeData: with the data given to the completionHandler.
diff -ruN /Applications/Xcode_16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKFoundation.h /Applications/Xcode_16.2.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKFoundation.h
--- /Applications/Xcode_16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKFoundation.h 2024-10-10 01:44:17
+++ /Applications/Xcode_16.2.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKFoundation.h 2024-10-31 02:32:06
@@ -62,3 +62,11 @@
#define WK_SWIFT_UI_ACTOR
#endif
+#ifdef NS_HEADER_AUDIT_BEGIN
+#define WK_HEADER_AUDIT_BEGIN NS_HEADER_AUDIT_BEGIN
+#define WK_HEADER_AUDIT_END NS_HEADER_AUDIT_END
+#else
+#define WK_HEADER_AUDIT_BEGIN(...) NS_ASSUME_NONNULL_BEGIN
+#define WK_HEADER_AUDIT_END(...) NS_ASSUME_NONNULL_END
+#endif
+
diff -ruN /Applications/Xcode_16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h /Applications/Xcode_16.2.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h
--- /Applications/Xcode_16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h 2024-10-10 01:31:51
+++ /Applications/Xcode_16.2.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h 2024-10-31 03:45:02
@@ -38,6 +38,7 @@
@class WKPreferences;
@class WKProcessPool;
@class WKUserContentController;
+@class WKWebExtensionController;
@class WKWebpagePreferences;
@class WKWebsiteDataStore;
@@ -227,12 +228,12 @@
*/
@property (nonatomic) BOOL supportsAdaptiveImageGlyph API_AVAILABLE(macos(15.0), ios(18.0), visionos(2.0));
-#if (TARGET_OS_IOS && !TARGET_OS_VISION) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 180000
+#if (TARGET_OS_IOS && !TARGET_OS_VISION) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 180000
/*! @abstract The preferred behavior of Writing Tools.
@discussion The default behavior is equivalent to `UIWritingToolsBehaviorLimited`.
*/
@property (nonatomic) UIWritingToolsBehavior writingToolsBehavior API_AVAILABLE(ios(18.0));
-#elif TARGET_OS_OSX && __MAC_OS_X_VERSION_MIN_REQUIRED >= 150000
+#elif TARGET_OS_OSX && __MAC_OS_X_VERSION_MAX_ALLOWED >= 150000
/*! @abstract The preferred behavior of Writing Tools.
@discussion The default behavior is equivalent to `NSWritingToolsBehaviorLimited`.
*/
diff -ruN /Applications/Xcode_16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebKit.h /Applications/Xcode_16.2.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebKit.h
--- /Applications/Xcode_16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebKit.h 2024-10-10 01:44:19
+++ /Applications/Xcode_16.2.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebKit.h 2024-10-31 02:32:08
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2014 Apple Inc. All rights reserved.
+ * Copyright (C) 2014-2024 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
- README
- xcode13.0 Binding Status
- xcode13.1 Binding Status
- xcode13.2 Binding Status
- xcode13.3 Binding Status
- xcode13.4 Binding Status
- xcode14.0 Binding Status
- xcode14.1 Binding Status
- xcode14.2 Binding Status
- xcode14.3 Binding Status
- xcode15.0 Binding Status
- xcode15.1 Binding Status
- xcode15.3 Binding Status
- xcode15.4 Binding Status
- xcode16.0 Binding Status
- xcode16.1 Binding Status
- xcode16.2 Binding Status