-
Notifications
You must be signed in to change notification settings - Fork 522
WebKit macOS xcode16.3 b2
Rolf Bjarne Kvinge edited this page Mar 27, 2025
·
2 revisions
#WebKit.framework https://github.com/dotnet/macios/pull/22489
diff -ruN /Applications/Xcode_16.3.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKDownload.h /Applications/Xcode_16.3.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKDownload.h
--- /Applications/Xcode_16.3.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKDownload.h 2025-02-11 08:05:38
+++ /Applications/Xcode_16.3.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKDownload.h 2025-02-26 08:11:16
@@ -50,10 +50,10 @@
@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.4), ios(NA));
+@property (nonatomic, readonly, getter=isUserInitiated) BOOL userInitiated API_AVAILABLE(macos(15.2), ios(18.2));
/* @abstract The frame that originated this download. */
-@property (nonatomic, readonly) WKFrameInfo *originatingFrame API_AVAILABLE(macos(15.4), ios(NA));
+@property (nonatomic, readonly) WKFrameInfo *originatingFrame API_AVAILABLE(macos(15.2), ios(18.2));
/* @abstract Cancel the download.
@param completionHandler A block to invoke when cancellation is finished.
diff -ruN /Applications/Xcode_16.3.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKDownloadDelegate.h /Applications/Xcode_16.3.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKDownloadDelegate.h
--- /Applications/Xcode_16.3.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKDownloadDelegate.h 2025-02-11 08:05:41
+++ /Applications/Xcode_16.3.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKDownloadDelegate.h 2025-02-26 07:28:54
@@ -46,7 +46,7 @@
typedef NS_ENUM(NSInteger, WKDownloadPlaceholderPolicy) {
WKDownloadPlaceholderPolicyDisable,
WKDownloadPlaceholderPolicyEnable,
-} NS_SWIFT_NAME(WKDownload.PlaceholderPolicy) API_AVAILABLE(ios(NA), visionos(NA));
+} NS_SWIFT_NAME(WKDownload.PlaceholderPolicy) API_AVAILABLE(ios(18.2), visionos(2.2));
NS_ASSUME_NONNULL_BEGIN
@@ -121,7 +121,7 @@
against. This is useful if the client maintains it's own placeholder file. If this delegate
is not implemented, the placeholder feature will be disabled.
*/
-- (void)download:(WKDownload *)download decidePlaceholderPolicy:(WK_SWIFT_UI_ACTOR void (^)(WKDownloadPlaceholderPolicy, NSURL * _Nullable))completionHandler WK_SWIFT_ASYNC_NAME(placeholderPolicy(forDownload:)) API_AVAILABLE(ios(NA), visionos(NA));
+- (void)download:(WKDownload *)download decidePlaceholderPolicy:(WK_SWIFT_UI_ACTOR void (^)(WKDownloadPlaceholderPolicy, NSURL * _Nullable))completionHandler WK_SWIFT_ASYNC_NAME(placeholderPolicy(forDownload:)) API_AVAILABLE(ios(18.2), visionos(2.2));
/* @abstract Called when the download receives a placeholder URL
@param download The download for which we received a placeholder URL
@@ -131,7 +131,7 @@
before receiving the final URL of the download. The placeholder URL will normally refer to a file in the
Downloads directory.
*/
-- (void)download:(WKDownload *)download didReceivePlaceholderURL:(NSURL *)url completionHandler:(WK_SWIFT_UI_ACTOR void (^)(void))completionHandler API_AVAILABLE(ios(NA), visionos(NA));
+- (void)download:(WKDownload *)download didReceivePlaceholderURL:(NSURL *)url completionHandler:(WK_SWIFT_UI_ACTOR void (^)(void))completionHandler API_AVAILABLE(ios(18.2), visionos(2.2));
/* @abstract Called when the download receives a final URL
@param download The download for which we received a final URL
@@ -139,7 +139,7 @@
@discussion This function is called after didReceivePlaceholderURL was called and after the download finished.
The final URL will normally refer to a file in the Downloads directory
*/
-- (void)download:(WKDownload *)download didReceiveFinalURL:(NSURL *)url API_AVAILABLE(ios(NA), visionos(NA));
+- (void)download:(WKDownload *)download didReceiveFinalURL:(NSURL *)url API_AVAILABLE(ios(18.2), visionos(2.2));
@end
diff -ruN /Applications/Xcode_16.3.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebpagePreferences.h /Applications/Xcode_16.3.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebpagePreferences.h
--- /Applications/Xcode_16.3.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebpagePreferences.h 2025-02-11 08:05:37
+++ /Applications/Xcode_16.3.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebpagePreferences.h 2025-02-26 08:22:26
@@ -56,7 +56,7 @@
WKWebpagePreferencesUpgradeToHTTPSPolicyAutomaticFallbackToHTTP,
WKWebpagePreferencesUpgradeToHTTPSPolicyUserMediatedFallbackToHTTP,
WKWebpagePreferencesUpgradeToHTTPSPolicyErrorOnFailure
-} NS_SWIFT_NAME(WKWebpagePreferences.UpgradeToHTTPSPolicy) API_AVAILABLE(macos(15.4), ios(NA), visionos(NA));
+} NS_SWIFT_NAME(WKWebpagePreferences.UpgradeToHTTPSPolicy) API_AVAILABLE(macos(15.2), ios(18.2), visionos(2.2));
/*! A WKWebpagePreferences object is a collection of properties that
determine the preferences to use when loading and rendering a page.
@@ -101,6 +101,6 @@
system configuration. The upgradeKnownHostsToHTTPS property on WKWebViewConfiguration
supercedes this policy for known hosts.
*/
-@property (nonatomic) WKWebpagePreferencesUpgradeToHTTPSPolicy preferredHTTPSNavigationPolicy API_AVAILABLE(macos(15.4), ios(NA), visionos(NA));
+@property (nonatomic) WKWebpagePreferencesUpgradeToHTTPSPolicy preferredHTTPSNavigationPolicy API_AVAILABLE(macos(15.2), ios(18.2), visionos(2.2));
@end