Skip to content

WebKit macOS xcode16.0 b2

Rolf Bjarne Kvinge edited this page Sep 2, 2024 · 4 revisions

#WebKit.framework https://github.com/xamarin/xamarin-macios/pull/21166

diff -ruN /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h
--- /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h	2024-05-30 09:32:38
+++ /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h	2024-06-18 07:37:33
@@ -659,6 +660,12 @@
 @discussion The default value is NO.
 */
 @property (nonatomic, getter=isInspectable) BOOL inspectable NS_SWIFT_NAME(isInspectable) API_AVAILABLE(macos(13.3), ios(16.4));
+
+/*! @abstract A Boolean value indicating whether Writing Tools is active for the view.
+ @discussion @link WKWebView @/link is key-value observing (KVO) compliant for this property.
+ */
+@property (nonatomic, readonly, getter=isWritingToolsActive) BOOL writingToolsActive API_AVAILABLE(macos(15.0), ios(NA)) API_UNAVAILABLE(visionos);
+
 
 @end
 
diff -ruN /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h
--- /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h	2024-05-31 08:05:13
+++ /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h	2024-06-18 07:37:31
@@ -213,6 +220,25 @@
  @param scheme The URL scheme to lookup.
  */
 - (nullable id <WKURLSchemeHandler>)urlSchemeHandlerForURLScheme:(NSString *)urlScheme API_AVAILABLE(macos(10.13), ios(11.0));
+
+/*! @abstract A Boolean value indicating whether insertion of adaptive image glyphs is allowed.
+    @discussion The default value is `NO`. If `NO`, adaptive image glyphs are inserted as regular
+    images. If `YES`, they are inserted with the full adaptive sizing behavior.
+    */
+@property (nonatomic) BOOL supportsAdaptiveImageGlyph API_AVAILABLE(macos(15.0), ios(NA), visionos(NA));
+
+#if TARGET_OS_IOS && !TARGET_OS_VISION
+/*! @abstract The preferred behavior of Writing Tools.
+    @discussion The default behavior is equivalent to `UIWritingToolsBehaviorLimited`.
+    */
+@property (nonatomic) UIWritingToolsBehavior writingToolsBehavior API_AVAILABLE(ios(NA));
+#elif TARGET_OS_OSX
+/*! @abstract The preferred behavior of Writing Tools.
+    @discussion The default behavior is equivalent to `NSWritingToolsBehaviorLimited`.
+    */
+@property (nonatomic) NSWritingToolsBehavior writingToolsBehavior API_AVAILABLE(macos(15.0));
+#endif
+
 
 @end
Clone this wiki locally