- Notifications
You must be signed in to change notification settings - Fork548
BrowserEngineKit iOS xcode26.0 b1
Rolf Bjarne Kvinge edited this pageAug 12, 2025 ·3 revisions
#BrowserEngineKit.frameworkhttps://github.com/dotnet/macios/pull/23570
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserEngineKit.framework/Headers/BEExtensionProcess.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserEngineKit.framework/Headers/BEExtensionProcess.h--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserEngineKit.framework/Headers/BEExtensionProcess.h1969-12-31 19:00:00+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserEngineKit.framework/Headers/BEExtensionProcess.h2025-05-25 02:47:18@@ -0,0 +1,36 @@+//+// BEExtensionProcess.h+//+// Copyright © 2025 Apple Inc. All rights reserved.+//++#import <Foundation/Foundation.h>+#import <BrowserEngineKit/BEMacros.h>++NS_ASSUME_NONNULL_BEGIN++API_AVAILABLE(macos(26.0), ios(26.0))+API_UNAVAILABLE(watchos, tvos, visionos)+@protocol BEExtensionProcess <NSObject>+@required++/// Stops the extension process.+///+/// When you call this method, you tell the system your app no longer needs this extension process.+/// If this is the last connection from the host process to the extension process, the system terminates+/// the extension process.+-(void)invalidate;+++#if TARGET_OS_OSX || TARGET_OS_IOS && !TARGET_OS_VISION+/// Creates a new libXPC connection to the extension process.+///+/// This method creates a connection to the extension process and returns it. If it is not possible to make an XPC connection, this method will return nil and populate the `error` out param.+///+/// - Returns: The connection object representing the created libXPC connection or nil.+-(nullable xpc_connection_t)makeLibXPCConnectionError:(NSError* _Nullable*)error;+#endif // TARGET_OS_OSX || TARGET_OS_IOS++@end++NS_ASSUME_NONNULL_ENDdiff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserEngineKit.framework/Headers/BELayerHierarchyHandle.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserEngineKit.framework/Headers/BELayerHierarchyHandle.h--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserEngineKit.framework/Headers/BELayerHierarchyHandle.h2025-04-19 07:47:05+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserEngineKit.framework/Headers/BELayerHierarchyHandle.h2025-05-25 02:47:18@@ -28,7 +28,16 @@ - (xpc_object_t)createXPCRepresentation NS_SWIFT_NAME(createXPCRepresentation()); #endif-@end+/// takes ownership of the port right (even if it returns nil).++ (nullable BELayerHierarchyHandle *)handleWithPort:(mach_port_t)port+ data:(NSData *)data+ error:(NSError **)error NS_SWIFT_NAME(init(port:data:)) API_AVAILABLE(ios(26.0)) API_UNAVAILABLE(macos, watchos, tvos, visionos);+/// passes a copy of the send right or `MACH_PORT_NULL` if inert.+/// the receiver is responsible for disposing of `copiedPort`.+/// the port and data should be consumed together and _only_ once by `init(port:data:)`.+- (void)encodeWithBlock:(void(^ NS_NOESCAPE)(mach_port_t copiedPort, NSData *data))block NS_SWIFT_NAME(encode(_:)) API_AVAILABLE(ios(26.0)) API_UNAVAILABLE(macos, watchos, tvos, visionos);++@end NS_ASSUME_NONNULL_ENDdiff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserEngineKit.framework/Headers/BELayerHierarchyHostingTransactionCoordinator.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserEngineKit.framework/Headers/BELayerHierarchyHostingTransactionCoordinator.h--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserEngineKit.framework/Headers/BELayerHierarchyHostingTransactionCoordinator.h2025-04-19 07:47:05+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserEngineKit.framework/Headers/BELayerHierarchyHostingTransactionCoordinator.h2025-05-25 02:47:18@@ -45,7 +45,16 @@ /// note that coordinators should have as constrained a lifespan as possible and will timeout if held open too long. - (void)commit NS_SWIFT_UI_ACTOR NS_SWIFT_NAME(commit());-@end+/// takes ownership of the port right (even if it returns nil).++ (nullable BELayerHierarchyHostingTransactionCoordinator *)coordinatorWithPort:(mach_port_t)port+ data:(NSData *)data+ error:(NSError **)error NS_SWIFT_NAME(init(port:data:)) API_AVAILABLE(ios(26.0)) API_UNAVAILABLE(macos, watchos, tvos, visionos);+/// passes a copy of the send right or `MACH_PORT_NULL` if inert.+/// the receiver is responsible for disposing of `copiedPort`.+/// the port and data should be consumed together and _only_ once by `init(port:data:)`.+- (void)encodeWithBlock:(void(^ NS_NOESCAPE)(mach_port_t copiedPort, NSData *data))block NS_SWIFT_NAME(encode(_:)) API_AVAILABLE(ios(26.0)) API_UNAVAILABLE(macos, watchos, tvos, visionos);++@end NS_ASSUME_NONNULL_ENDdiff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserEngineKit.framework/Headers/BENetworkingProcess.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserEngineKit.framework/Headers/BENetworkingProcess.h--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserEngineKit.framework/Headers/BENetworkingProcess.h2025-04-19 07:47:05+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserEngineKit.framework/Headers/BENetworkingProcess.h2025-05-25 02:47:18@@ -7,6 +7,8 @@ #import <Foundation/Foundation.h> #import <BrowserEngineKit/BEMacros.h>+#import <BrowserEngineKit/BEExtensionProcess.h>+ #if TARGET_OS_OSX || TARGET_OS_IOS && !TARGET_OS_VISION #include <xpc/xpc.h> #endif@@ -70,6 +72,11 @@ @end-+NS_REFINED_FOR_SWIFT+API_AVAILABLE(macos(14.3), ios(17.4))+API_UNAVAILABLE(watchos, tvos, visionos)+BROWSERENGINE_EXPORT+@interface BENetworkingProcess (BEExtensionProcessConformance) <BEExtensionProcess>+@end NS_ASSUME_NONNULL_ENDdiff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserEngineKit.framework/Headers/BERenderingProcess.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserEngineKit.framework/Headers/BERenderingProcess.h--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserEngineKit.framework/Headers/BERenderingProcess.h2025-04-19 07:47:05+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserEngineKit.framework/Headers/BERenderingProcess.h2025-05-25 03:06:31@@ -7,6 +7,8 @@ #import <Foundation/Foundation.h> #import <BrowserEngineKit/BEMacros.h>+#import <BrowserEngineKit/BEExtensionProcess.h>+ #if TARGET_OS_OSX || TARGET_OS_IOS && !TARGET_OS_VISION #include <xpc/xpc.h> #endif@@ -82,6 +84,13 @@ - (id<UIInteraction>)createVisibilityPropagationInteraction; #endif+@end++NS_REFINED_FOR_SWIFT+API_AVAILABLE(macos(14.3), ios(17.4))+API_UNAVAILABLE(watchos, tvos, visionos)+BROWSERENGINE_EXPORT+@interface BERenderingProcess (BEExtensionProcessConformance) <BEExtensionProcess> @end NS_ASSUME_NONNULL_ENDdiff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserEngineKit.framework/Headers/BETextInput.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserEngineKit.framework/Headers/BETextInput.h--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserEngineKit.framework/Headers/BETextInput.h2025-04-19 03:42:18+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserEngineKit.framework/Headers/BETextInput.h2025-05-25 02:20:21@@ -350,6 +350,24 @@ #pragma mark Text selection+@optional++/**+ * If different than the text input view, one can return a container view here for selection views+ * that draw _below_ text. Includes the selection highlight view. If this is unimplemented or nil+ * is returned, views are to be installed onto the text input view.+ */+@property (nonatomic, nullable, readonly) UIView *selectionContainerViewBelowText API_AVAILABLE(ios(26.0));++/**+ * If different than the text input view, one can return a container view here for selection views+ * that draw _above_ text. Includes selection range adjustment handles. If this is unimplemented+ * or nil is returned, views are to be installed onto the text input view.+ */+@property (nonatomic, nullable, readonly) UIView *selectionContainerViewAboveText API_AVAILABLE(ios(26.0));++@required+ /** * String representing the selected text. */diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserEngineKit.framework/Headers/BEWebContentProcess.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserEngineKit.framework/Headers/BEWebContentProcess.h--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserEngineKit.framework/Headers/BEWebContentProcess.h2025-04-19 07:47:05+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserEngineKit.framework/Headers/BEWebContentProcess.h2025-05-25 02:47:18@@ -7,6 +7,8 @@ #import <Foundation/Foundation.h> #import <BrowserEngineKit/BEMacros.h>+#import <BrowserEngineKit/BEExtensionProcess.h>+ #if TARGET_OS_OSX || TARGET_OS_IOS && !TARGET_OS_VISION #include <xpc/xpc.h> #endif // TARGET_OS_OSX || TARGET_OS_IOS && !TARGET_OS_VISION@@ -78,6 +80,13 @@ - (id<UIInteraction>)createVisibilityPropagationInteraction; #endif+@end++NS_REFINED_FOR_SWIFT+API_AVAILABLE(macos(14.3), ios(17.4))+API_UNAVAILABLE(watchos, tvos, visionos)+BROWSERENGINE_EXPORT+@interface BEWebContentProcess (BEExtensionProcessConformance) <BEExtensionProcess> @end NS_ASSUME_NONNULL_ENDdiff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserEngineKit.framework/Headers/BrowserEngineKit.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserEngineKit.framework/Headers/BrowserEngineKit.h--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserEngineKit.framework/Headers/BrowserEngineKit.h2025-04-19 07:47:04+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserEngineKit.framework/Headers/BrowserEngineKit.h2025-05-25 02:47:17@@ -15,6 +15,7 @@ #import <BrowserEngineKit/BEDragInteraction.h> #import <BrowserEngineKit/BEScrollView.h>+#import <BrowserEngineKit/BEExtensionProcess.h> #import <BrowserEngineKit/BEWebContentProcess.h> #import <BrowserEngineKit/BENetworkingProcess.h> #import <BrowserEngineKit/BERenderingProcess.h>