From e0ec4235cc7b8d05ec1aaa414ec2d2cac798d74e Mon Sep 17 00:00:00 2001 From: lpw Date: Sat, 03 Jun 2023 09:18:20 +0800 Subject: [PATCH] 3.15.0 --- frameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKInternalUtility.h | 53 ++++++++++++++++++++++++++--------------------------- 1 files changed, 26 insertions(+), 27 deletions(-) diff --git a/frameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKInternalUtility.h b/frameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKInternalUtility.h index a4a37b5..9c1f25e 100644 --- a/frameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKInternalUtility.h +++ b/frameworks/FBSDKCoreKit.xcframework/ios-arm64_x86_64-maccatalyst/FBSDKCoreKit.framework/Headers/FBSDKInternalUtility.h @@ -12,33 +12,28 @@ #import <FBSDKCoreKit/FBSDKAppAvailabilityChecker.h> #import <FBSDKCoreKit/FBSDKAppURLSchemeProviding.h> #import <FBSDKCoreKit/FBSDKInternalUtilityProtocol.h> +#import <FBSDKCoreKit/_FBSDKWindowFinding.h> #if !TARGET_OS_TV #import <FBSDKCoreKit/FBSDKURLHosting.h> #endif -NS_ASSUME_NONNULL_BEGIN +@protocol FBSDKErrorCreating; +@protocol FBSDKInfoDictionaryProviding; +@protocol FBSDKSettings; +@protocol __FBSDKLoggerCreating; -FOUNDATION_EXPORT NSString *const FBSDK_CANOPENURL_FACEBOOK - DEPRECATED_MSG_ATTRIBUTE("`FBSDK_CANOPENURL_FACEBOOK` is deprecated and will be removed in the next major release; please use `URLScheme.facebookAPI` instead"); -FOUNDATION_EXPORT NSString *const FBSDK_CANOPENURL_FBAPI - DEPRECATED_MSG_ATTRIBUTE("`FBSDK_CANOPENURL_FBAPI` is deprecated and will be removed in the next major release; please use `URLScheme.facebookAPI` instead"); -FOUNDATION_EXPORT NSString *const FBSDK_CANOPENURL_MESSENGER - DEPRECATED_MSG_ATTRIBUTE("`FBSDK_CANOPENURL_MESSENGER` is deprecated and will be removed in the next major release; please use `URLScheme.messengerApp` instead"); -FOUNDATION_EXPORT NSString *const FBSDK_CANOPENURL_MSQRD_PLAYER - DEPRECATED_MSG_ATTRIBUTE("`FBSDK_CANOPENURL_MSQRD_PLAYER` is deprecated and will be removed in the next major release"); -FOUNDATION_EXPORT NSString *const FBSDK_CANOPENURL_SHARE_EXTENSION - DEPRECATED_MSG_ATTRIBUTE("`FBSDK_CANOPENURL_SHARE_EXTENSION` is deprecated and will be removed in the next major release; please use `URLScheme.facebookAPI`"); +NS_ASSUME_NONNULL_BEGIN NS_SWIFT_NAME(InternalUtility) @interface FBSDKInternalUtility : NSObject #if !TARGET_OS_TV - <FBSDKAppAvailabilityChecker, FBSDKAppURLSchemeProviding, FBSDKInternalUtility, FBSDKURLHosting> + <FBSDKAppAvailabilityChecker, FBSDKAppURLSchemeProviding, FBSDKInternalUtility, FBSDKURLHosting, _FBSDKWindowFinding> #else <FBSDKAppAvailabilityChecker, FBSDKAppURLSchemeProviding, FBSDKInternalUtility> #endif -#if !FBTEST +#if !DEBUG - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; #endif @@ -54,14 +49,14 @@ @property (nonatomic, readonly, strong) NSBundle *bundleForStrings; /** - Tests whether the supplied URL is a valid URL for opening in the browser. + Tests whether the supplied URL is a valid URL for opening in the browser. @param URL The URL to test. @return YES if the URL refers to an http or https resource, otherwise NO. */ - (BOOL)isBrowserURL:(NSURL *)URL; /** - Checks equality between 2 objects. + Checks equality between 2 objects. Checks for pointer equality, nils, isEqual:. @param object The first object to compare. @@ -70,24 +65,16 @@ */ - (BOOL)object:(id)object isEqualToObject:(id)other; -/** - Attempts to find the first UIViewController in the view's responder chain. Returns nil if not found. - */ +/// Attempts to find the first UIViewController in the view's responder chain. Returns nil if not found. - (nullable UIViewController *)viewControllerForView:(UIView *)view; -/** - returns true if the url scheme is registered in the CFBundleURLTypes - */ +/// returns true if the url scheme is registered in the CFBundleURLTypes - (BOOL)isRegisteredURLScheme:(NSString *)urlScheme; -/** - returns currently displayed top view controller. - */ +/// returns currently displayed top view controller. - (nullable UIViewController *)topMostViewController; -/** - returns the current key window - */ +/// returns the current key window - (nullable UIWindow *)findWindow; #pragma mark - FB Apps Installed @@ -96,6 +83,18 @@ - (BOOL)isRegisteredCanOpenURLScheme:(NSString *)urlScheme; +/** + Internal method exposed to facilitate transition to Swift. + API Subject to change or removal without warning. Do not use. + + @warning INTERNAL - DO NOT USE + */ +- (void)configureWithInfoDictionaryProvider:(id<FBSDKInfoDictionaryProviding>)infoDictionaryProvider + loggerFactory:(id<__FBSDKLoggerCreating>)loggerFactory + settings:(id<FBSDKSettings>)settings + errorFactory:(id<FBSDKErrorCreating>)errorFactory +NS_SWIFT_NAME(configure(infoDictionaryProvider:loggerFactory:settings:errorFactory:)); + @end NS_ASSUME_NONNULL_END -- Gitblit v1.8.0