-
Notifications
You must be signed in to change notification settings - Fork 558
BrowserKit iOS xcode26.4 b2
Rolf Bjarne Kvinge edited this page Feb 27, 2026
·
1 revision
#BrowserKit.framework
diff -ruN /Applications/Xcode_26.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserKit.framework/Headers/BEBrowserData.h /Applications/Xcode_26.4.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserKit.framework/Headers/BEBrowserData.h
--- /Applications/Xcode_26.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserKit.framework/Headers/BEBrowserData.h 1970-01-01 01:00:00
+++ /Applications/Xcode_26.4.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserKit.framework/Headers/BEBrowserData.h 2026-02-18 08:03:55
@@ -0,0 +1,91 @@
+// Copyright © 2025 Apple Inc. All rights reserved.
+
+
+NS_ASSUME_NONNULL_BEGIN
+
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(26.4))
+API_UNAVAILABLE(tvos, watchos, macCatalyst, macos, visionos)
+@interface BEBrowserData : NSObject <NSSecureCoding>
+
+@property (nonatomic, nullable, readonly, copy) NSString *sourceApplicationBundleIdentifier;
+@property (nonatomic, nullable, readonly, copy) NSString *sourceApplicationLocalizedName;
+
++ (instancetype)new NS_UNAVAILABLE;
+- (instancetype)init NS_UNAVAILABLE;
+- (instancetype)initWithSourceApplicationBundleIdentifier:(nullable NSString *)sourceApplicationBundleIdentifier sourceApplicationLocalizedName:(nullable NSString *)sourceApplicationLocalizedName;
+
+@end
+
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(26.4))
+API_UNAVAILABLE(tvos, watchos, macCatalyst, macos, visionos)
+@interface BEBrowserDataBookmark : BEBrowserData
+
+@property (nonatomic, readonly) BOOL isFolder;
+@property (nonatomic, readonly, copy) NSString *title;
+@property (nonatomic, readonly, copy) NSString *identifier;
+@property (nonatomic, nullable, readonly) NSURL *url;
+@property (nonatomic, nullable, readonly, copy) NSString *parentIdentifier;
+
++ (instancetype)new NS_UNAVAILABLE;
+- (instancetype)init NS_UNAVAILABLE;
+- (instancetype)initAsFolder:(BOOL)isFolder title:(NSString *)title identifier:(NSString *)identifier url:(nullable NSURL *)url parentIdentifier:(nullable NSString *)parentIdentifier NS_SWIFT_NAME(init(isFolder:title:identifier:url:parentIdentifier:));
+
+@end
+
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(26.4))
+API_UNAVAILABLE(tvos, watchos, macCatalyst, macos, visionos)
+@interface BEBrowserDataReadingListItem : BEBrowserData
+
+@property (nonatomic, readonly, copy) NSString *title;
+@property (nonatomic, readonly) NSURL *url;
+@property (nonatomic, nullable, readonly) NSDate *dateOfLastVisit;
+
++ (instancetype)new NS_UNAVAILABLE;
+- (instancetype)init NS_UNAVAILABLE;
+- (instancetype)initWithTitle:(NSString *)title url:(NSURL *)url dateOfLastVisit:(nullable NSDate *)dateOfLastVisit;
+
+@end
+
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(26.4))
+API_UNAVAILABLE(tvos, watchos, macCatalyst, macos, visionos)
+@interface BEBrowserDataHistoryVisit : BEBrowserData
+
+@property (nonatomic, readonly) NSURL *url;
+@property (nonatomic, readonly) NSDate *dateOfLastVisit;
+@property (nonatomic, nullable, readonly, copy) NSString *title;
+@property (nonatomic, readonly) BOOL loadedSuccessfully;
+@property (nonatomic, readonly) BOOL httpGet;
+@property (nonatomic, nullable, readonly) NSURL *redirectSourceURL;
+@property (nonatomic, nullable, readonly) NSDate *redirectSourceDateOfVisit;
+@property (nonatomic, nullable, readonly) NSURL *redirectDestinationURL;
+@property (nonatomic, nullable, readonly) NSDate *redirectDestinationDateOfVisit;
+@property (nonatomic, readonly) NSUInteger visitCount;
+
++ (instancetype)new NS_UNAVAILABLE;
+- (instancetype)init NS_UNAVAILABLE;
+- (instancetype)initWithURL:(NSURL *)url dateOfLastVisit:(NSDate *)dateOfLastVisit title:(nullable NSString *)title loadedSuccessfully:(BOOL)loadedSuccessfully httpGet:(BOOL)httpGet redirectSourceURL:(nullable NSURL *)redirectSourceURL redirectSourceDateOfVisit:(nullable NSDate *)redirectSourceDateOfVisit redirectDestinationURL:(nullable NSURL *)redirectDestinationURL redirectDestinationDateOfVisit:(nullable NSDate *)redirectDestinationDateOfVisit visitCount:(NSUInteger)visitCount;
+
+@end
+
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(26.4))
+API_UNAVAILABLE(tvos, watchos, macCatalyst, macos, visionos)
+@interface BEBrowserDataExtension : BEBrowserData
+
+@property (nonatomic, readonly, copy) NSString *displayName;
+@property (nonatomic, readonly, copy) NSString *developerName;
+@property (nonatomic, readonly, copy) NSString *identifier;
+@property (nonatomic, readonly, copy) NSString *storeIdentifier;
+
++ (instancetype)new NS_UNAVAILABLE;
+- (instancetype)init NS_UNAVAILABLE;
+- (instancetype)initWithDisplayName:(NSString *)displayName developerName:(NSString *)developerName identifier:(NSString *)identifier storeIdentifier:(NSString *)storeIdentifier;
+
+@end
+
+NS_ASSUME_NONNULL_END
+
diff -ruN /Applications/Xcode_26.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserKit.framework/Headers/BEBrowserDataExchangeErrors.h /Applications/Xcode_26.4.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserKit.framework/Headers/BEBrowserDataExchangeErrors.h
--- /Applications/Xcode_26.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserKit.framework/Headers/BEBrowserDataExchangeErrors.h 2025-11-19 07:14:10
+++ /Applications/Xcode_26.4.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserKit.framework/Headers/BEBrowserDataExchangeErrors.h 2026-02-18 08:03:55
@@ -1,2 +1,19 @@
// Copyright © 2025 Apple Inc. All rights reserved.
+
+#import <Foundation/Foundation.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+extern NSErrorDomain const BEBrowserDataExchangeErrorDomain;
+
+typedef NS_ERROR_ENUM(BEBrowserDataExchangeErrorDomain, BEBrowserDataExchangeError) {
+ BEBrowserDataDataExchangeErrorUnknown NS_SWIFT_NAME(unknown) = 0,
+ BEBrowserDataDataExchangeErrorExport NS_SWIFT_NAME(export),
+ BEBrowserDataDataExchangeErrorImport NS_SWIFT_NAME(import),
+}
+API_AVAILABLE(ios(26.4))
+API_UNAVAILABLE(tvos, watchos, macCatalyst, macos, visionos);
+
+NS_ASSUME_NONNULL_END
+
diff -ruN /Applications/Xcode_26.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserKit.framework/Headers/BEBrowserDataExportManager.h /Applications/Xcode_26.4.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserKit.framework/Headers/BEBrowserDataExportManager.h
--- /Applications/Xcode_26.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserKit.framework/Headers/BEBrowserDataExportManager.h 2025-11-19 07:14:10
+++ /Applications/Xcode_26.4.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserKit.framework/Headers/BEBrowserDataExportManager.h 2026-02-18 08:03:55
@@ -1,2 +1,78 @@
// Copyright © 2025 Apple Inc. All rights reserved.
+
+#import "BEBrowserData.h"
+#import <UIKit/UIKit.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+API_AVAILABLE(ios(26.4))
+API_UNAVAILABLE(tvos, watchos, macCatalyst, macos, visionos)
+extern NSString * const BEBrowserDataExchangeExportActivity NS_SWIFT_NAME(BEBrowserDataExportManager.userActivityType);
+
+API_AVAILABLE(ios(26.4))
+API_UNAVAILABLE(tvos, watchos, macCatalyst, macos, visionos)
+extern NSString * const BEBrowserDataExchangeExportToken NS_SWIFT_NAME(BEBrowserDataExportManager.exportTokenUserInfoKey);
+
+typedef NS_OPTIONS(NSUInteger, BEExportDataTypes) {
+ BEExportDataTypesNone NS_SWIFT_NAME(none) = 0,
+ BEExportDataTypesBookmarks NS_SWIFT_NAME(bookmarks) = 1 << 0,
+ BEExportDataTypesReadingList NS_SWIFT_NAME(readingList) = 1 << 1,
+ BEExportDataTypesHistory NS_SWIFT_NAME(history) = 1 << 2,
+ BEExportDataTypesExtensions NS_SWIFT_NAME(extensions) = 1 << 3,
+}
+API_AVAILABLE(ios(26.4))
+API_UNAVAILABLE(tvos, watchos, macCatalyst, macos, visionos)
+NS_SWIFT_NAME(BEExportOptions.DataTypes);
+
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(26.4))
+API_UNAVAILABLE(tvos, watchos, macCatalyst, macos, visionos)
+@interface BEExportOptions : NSObject <NSSecureCoding>
+
+@property (nonatomic, readonly) BOOL exportToFiles;
+@property (nonatomic, readonly) BEExportDataTypes dataTypes;
+
++ (instancetype)new NS_UNAVAILABLE;
+- (instancetype)init NS_UNAVAILABLE;
+
+- (instancetype)initWithExportToFiles:(BOOL)exportToFiles dataTypes:(BEExportDataTypes)dataTypes;
+
+@end
+
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(26.4))
+API_UNAVAILABLE(tvos, watchos, macCatalyst, macos, visionos)
+@interface BEExportMetadata : NSObject <NSSecureCoding>
+
+@property (nonatomic, readonly) BOOL supportExportToFiles;
+@property (nonatomic, readonly) NSInteger bookmarksCount;
+@property (nonatomic, readonly) NSInteger readingListCount;
+@property (nonatomic, readonly) NSInteger historyCount;
+@property (nonatomic, readonly) NSInteger extensionsCount;
+
++ (instancetype)new NS_UNAVAILABLE;
+- (instancetype)init NS_UNAVAILABLE;
+
+- (instancetype)initWithSupportForExportToFiles:(BOOL)supportExportToFiles bookmarksCount:(NSInteger)bookmarksCount readingListCount:(NSInteger)readingListCount historyCount:(NSInteger)historyCount extensionsCount:(NSInteger)extensionsCount;
+
+@end
+
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(26.4))
+API_UNAVAILABLE(tvos, watchos, macCatalyst, macos, visionos)
+@interface BEBrowserDataExportManager : NSObject
+
++ (instancetype)new NS_UNAVAILABLE;
+- (instancetype)init NS_UNAVAILABLE;
+
+- (instancetype)initWithScene:(UIWindowScene *)scene NS_SWIFT_UI_ACTOR;
+
+- (void)requestExportForMetadata:(BEExportMetadata *)metadata token:(NSUUID * _Nullable)token completionHandler:(void (^)(BEExportOptions * _Nullable, NSError * _Nullable))completionHandler;
+- (void)exportBrowserData:(BEBrowserData *)browserData completionHandler:(void (^)(NSError * _Nullable))completionHandler NS_REFINED_FOR_SWIFT;
+- (void)exportFinishedWithCompletionHandler:(void (^)(NSError * _Nullable))completionHandler NS_REFINED_FOR_SWIFT;
+
+@end
+
+NS_ASSUME_NONNULL_END
+
diff -ruN /Applications/Xcode_26.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserKit.framework/Headers/BEBrowserDataImportManager.h /Applications/Xcode_26.4.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserKit.framework/Headers/BEBrowserDataImportManager.h
--- /Applications/Xcode_26.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserKit.framework/Headers/BEBrowserDataImportManager.h 1970-01-01 01:00:00
+++ /Applications/Xcode_26.4.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserKit.framework/Headers/BEBrowserDataImportManager.h 2026-02-18 08:03:55
@@ -0,0 +1,61 @@
+// Copyright © 2025 Apple Inc. All rights reserved.
+
+
+#import "BEBrowserData.h"
+#import <UIKit/UIKit.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+API_AVAILABLE(ios(26.4))
+API_UNAVAILABLE(tvos, watchos, macCatalyst, macos, visionos)
+extern NSString * const BEBrowserDataExchangeImportActivity
+NS_SWIFT_NAME(BEBrowserDataImportManager.userActivityType);
+
+API_AVAILABLE(ios(26.4))
+API_UNAVAILABLE(tvos, watchos, macCatalyst, macos, visionos)
+extern NSString * const BEBrowserDataExchangeImportToken
+NS_SWIFT_NAME(BEBrowserDataImportManager.importTokenUserInfoKey);
+
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(26.4))
+API_UNAVAILABLE(tvos, watchos, macCatalyst, macos, visionos)
+@interface BEImportOptions : NSObject <NSSecureCoding>
+
+@property (nonatomic, readonly) BOOL importFromFiles;
+
++ (instancetype)new NS_UNAVAILABLE;
+- (instancetype)init NS_UNAVAILABLE;
+
+- (instancetype)initWithImportFromFiles:(BOOL)importFromFiles;
+
+@end
+
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(26.4))
+API_UNAVAILABLE(tvos, watchos, macCatalyst, macos, visionos)
+@interface BEImportMetadata : NSObject <NSSecureCoding>
+
+@property (nonatomic, readonly) BOOL supportImportFromFiles;
+
++ (instancetype)new NS_UNAVAILABLE;
+- (instancetype)init NS_UNAVAILABLE;
+
+- (instancetype)initWithSupportForImportFromFiles:(BOOL)supportImportFromFiles;
+
+@end
+
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(26.4))
+API_UNAVAILABLE(tvos, watchos, macCatalyst, macos, visionos)
+@interface BEBrowserDataImportManager : NSObject
+
+- (instancetype)init;
+- (instancetype)initWithScene:(UIWindowScene * _Nullable)scene NS_SWIFT_UI_ACTOR;
+
+- (void)importBrowserDataWithToken:(NSUUID *)token importBlock:(void (^)(BEBrowserData * _Nullable, BOOL, NSError * _Nullable))importBlock NS_REFINED_FOR_SWIFT;
+- (void)requestImportForMetadata:(BEImportMetadata *)metadata completionHandler:(void (^)(BEImportOptions * _Nullable, NSError * _Nullable))completionHandler;
+
+@end
+
+NS_ASSUME_NONNULL_END
+
diff -ruN /Applications/Xcode_26.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserKit.framework/Headers/BrowserKit.h /Applications/Xcode_26.4.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserKit.framework/Headers/BrowserKit.h
--- /Applications/Xcode_26.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserKit.framework/Headers/BrowserKit.h 2025-11-19 07:14:10
+++ /Applications/Xcode_26.4.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/BrowserKit.framework/Headers/BrowserKit.h 2026-02-18 08:03:54
@@ -2,3 +2,7 @@
#import <BrowserKit/BEAvailability.h>
+#import <BrowserKit/BEBrowserData.h>
+#import <BrowserKit/BEBrowserDataExchangeErrors.h>
+#import <BrowserKit/BEBrowserDataExportManager.h>
+#import <BrowserKit/BEBrowserDataImportManager.h>