- Notifications
You must be signed in to change notification settings - Fork548
BrowserKit MacCatalyst xcode16.3 b2
Rolf Bjarne Kvinge edited this pageMar 25, 2025 ·2 revisions
#BrowserKit.frameworkhttps://github.com/dotnet/macios/pull/22467
diff -ruN /Applications/Xcode_16.3.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksBrowserKit.framework/Headers/BEAvailability.h /Applications/Xcode_16.3.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/BrowserKit.framework/Headers/BEAvailability.h--- /Applications/Xcode_16.3.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksBrowserKit.framework/Headers/BEAvailability.h1970-01-01 01:00:00+++ /Applications/Xcode_16.3.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/BrowserKit.framework/Headers/BEAvailability.h2025-02-26 07:14:20@@ -0,0 +1,28 @@+// Copyright © 2025 Apple Inc. All rights reserved.++#import <Foundation/Foundation.h>++NS_ASSUME_NONNULL_BEGIN++/* @enum BEEligibilityContext+ @abstract The context for which eligibility should be queried.+ @constant BEEligibilityContextWebBrowser Eligible for alternative Browser Engines in Web browsers.+ @constant BEEligibilityContextApp Eligble for alternative Browser Engines in regular Apps.+ */+typedef NS_ENUM(NSInteger, BEEligibilityContext) {+ BEEligibilityContextWebBrowser,+ BEEligibilityContextApp,+} NS_SWIFT_NAME(BEAvailability.Context) API_AVAILABLE(ios(18.4));++API_AVAILABLE(ios(18.4))+API_UNAVAILABLE(tvos, watchos, macCatalyst, macos, visionos)+@interface BEAvailability : NSObject+/* @abstract Check eligibility for context.+ @param context The context for which eligibility will be queried+ @param completionHandler The completion handler to be called when eligibility has been determined.+ @discussion The completion handler will provide the eligibility status in the `eligible` parameter. If the call fails, the error is included.+*/++ (void)isEligibleForContext:(BEEligibilityContext)context completionHandler:(void (^)(BOOL eligible, NSError * _Nullable error))completionHandler NS_SWIFT_ASYNC_NAME(isEligible(for:));+@end++NS_ASSUME_NONNULL_ENDdiff -ruN /Applications/Xcode_16.3.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksBrowserKit.framework/Headers/BrowserKit.h /Applications/Xcode_16.3.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/BrowserKit.framework/Headers/BrowserKit.h--- /Applications/Xcode_16.3.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/FrameworksBrowserKit.framework/Headers/BrowserKit.h1970-01-01 01:00:00+++ /Applications/Xcode_16.3.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/BrowserKit.framework/Headers/BrowserKit.h2025-02-26 07:14:20@@ -0,0 +1,3 @@+// Copyright © 2025 Apple Inc. All rights reserved.++#import <BrowserKit/BEAvailability.h>