diff --git a/iphone/Maps/3party/Cartfile.resolved b/iphone/Maps/3party/Cartfile.resolved index ff9274a39d..6fff58b2ee 100644 --- a/iphone/Maps/3party/Cartfile.resolved +++ b/iphone/Maps/3party/Cartfile.resolved @@ -1,8 +1,8 @@ github "Alamofire/Alamofire" "4.7.3" github "Alamofire/AlamofireImage" "3.4.1" -github "AppsFlyerSDK/AppsFlyerFramework" "4.8.3" +github "AppsFlyerSDK/AppsFlyerFramework" "4.8.9" github "BoltsFramework/Bolts-ObjC" "1.9.0" -github "Pushwoosh/pushwoosh-ios-sdk" "5.5.4" -github "facebook/Facebook-SDK-Swift" "0.3.0" -github "facebook/facebook-ios-sdk" "sdk-version-4.31.1" +github "Pushwoosh/pushwoosh-ios-sdk" "5.9.0" +github "facebook/Facebook-SDK-Swift" "0.4.0" +github "facebook/facebook-objc-sdk" "sdk-version-4.36.0" github "skywinder/ActionSheetPicker-3.0" "2.3.0" diff --git a/iphone/Maps/3party/Carthage/Build/Mac/Alamofire.framework/Versions/A/Alamofire b/iphone/Maps/3party/Carthage/Build/Mac/Alamofire.framework/Versions/A/Alamofire index 871bc27bd7..289b8ceca0 100755 Binary files a/iphone/Maps/3party/Carthage/Build/Mac/Alamofire.framework/Versions/A/Alamofire and b/iphone/Maps/3party/Carthage/Build/Mac/Alamofire.framework/Versions/A/Alamofire differ diff --git a/iphone/Maps/3party/Carthage/Build/Mac/AlamofireImage.framework/Versions/A/AlamofireImage b/iphone/Maps/3party/Carthage/Build/Mac/AlamofireImage.framework/Versions/A/AlamofireImage index baefc6d202..7f0a2b235e 100755 Binary files a/iphone/Maps/3party/Carthage/Build/Mac/AlamofireImage.framework/Versions/A/AlamofireImage and b/iphone/Maps/3party/Carthage/Build/Mac/AlamofireImage.framework/Versions/A/AlamofireImage differ diff --git a/iphone/Maps/3party/Carthage/Build/Mac/Bolts.framework/Versions/A/Bolts b/iphone/Maps/3party/Carthage/Build/Mac/Bolts.framework/Versions/A/Bolts index b51090e389..48a57f641b 100755 Binary files a/iphone/Maps/3party/Carthage/Build/Mac/Bolts.framework/Versions/A/Bolts and b/iphone/Maps/3party/Carthage/Build/Mac/Bolts.framework/Versions/A/Bolts differ diff --git a/iphone/Maps/3party/Carthage/Build/Mac/Bolts.framework/Versions/A/Resources/Info.plist b/iphone/Maps/3party/Carthage/Build/Mac/Bolts.framework/Versions/A/Resources/Info.plist index 75be0e6f8e..280ae2b819 100644 --- a/iphone/Maps/3party/Carthage/Build/Mac/Bolts.framework/Versions/A/Resources/Info.plist +++ b/iphone/Maps/3party/Carthage/Build/Mac/Bolts.framework/Versions/A/Resources/Info.plist @@ -3,7 +3,7 @@ BuildMachineOSBuild - 17E199 + 18A391 CFBundleDevelopmentRegion en CFBundleExecutable @@ -29,16 +29,16 @@ DTCompiler com.apple.compilers.llvm.clang.1_0 DTPlatformBuild - 9E145 + 10A255 DTPlatformVersion GM DTSDKBuild - 17E189 + 18A384 DTSDKName - macosx10.13 + macosx10.14 DTXcode - 0930 + 1000 DTXcodeBuild - 9E145 + 10A255 diff --git a/iphone/Maps/3party/Carthage/Build/Mac/Pushwoosh.framework/Versions/A/Headers/PWGDPRManager.h b/iphone/Maps/3party/Carthage/Build/Mac/Pushwoosh.framework/Versions/A/Headers/PWGDPRManager.h new file mode 100644 index 0000000000..c9210b24d7 --- /dev/null +++ b/iphone/Maps/3party/Carthage/Build/Mac/Pushwoosh.framework/Versions/A/Headers/PWGDPRManager.h @@ -0,0 +1,42 @@ +// +// PWGDPRManager.h +// Pushwoosh SDK +// (c) Pushwoosh 2018 +// + +#import + +/* + `PWGDPRManager` class offers access to the singleton-instance of the manager responsible for channels management required by GDPR. + */ + +FOUNDATION_EXPORT NSString * const PWGDPRStatusDidChangeNotification; + +@interface PWGDPRManager : NSObject + +/** +Indicates availability of the GDPR compliance solution. +*/ +@property (nonatomic, readonly, getter=isAvailable) BOOL available; + +@property (nonatomic, readonly, getter=isCommunicationEnabled) BOOL communicationEnabled; + +@property (nonatomic, readonly, getter=isDeviceDataRemoved) BOOL deviceDataRemoved; + ++ (instancetype)sharedManager; + +/** + Enable/disable all communication with Pushwoosh. Enabled by default. + */ +- (void)setCommunicationEnabled:(BOOL)enabled completion:(void (^)(NSError *error))completion; + +/** + Removes all device data from Pushwoosh and stops all interactions and communication permanently. + */ +- (void)removeAllDeviceDataWithCompletion:(void (^)(NSError *error))completion; + +- (void)showGDPRConsentUI; + +- (void)showGDPRDeletionUI; + +@end diff --git a/iphone/Maps/3party/Carthage/Build/Mac/Pushwoosh.framework/Versions/A/Headers/PWInAppManager.h b/iphone/Maps/3party/Carthage/Build/Mac/Pushwoosh.framework/Versions/A/Headers/PWInAppManager.h index 292f7aa1f1..dfaf01c2f2 100644 --- a/iphone/Maps/3party/Carthage/Build/Mac/Pushwoosh.framework/Versions/A/Headers/PWInAppManager.h +++ b/iphone/Maps/3party/Carthage/Build/Mac/Pushwoosh.framework/Versions/A/Headers/PWInAppManager.h @@ -79,13 +79,20 @@ #endif + /* - `PWInAppManager` class offers access to the singletone-instance of the inapp messages manager responsible for sending events and managing inapp message notifications. + `PWInAppManager` class offers access to the singleton-instance of the inapp messages manager responsible for sending events and managing inapp message notifications. */ @interface PWInAppManager : NSObject + + (instancetype)sharedManager; +/** + Resets capping of the Pushwoosh out-of-the-box In-App solutions. + */ +- (void)resetBusinessCasesFrequencyCapping; + /** Set User indentifier. This could be Facebook ID, username or email, or any other user ID. This allows data and events to be matched across multiple user devices. diff --git a/iphone/Maps/3party/Carthage/Build/Mac/Pushwoosh.framework/Versions/A/Headers/PushNotificationManager.h b/iphone/Maps/3party/Carthage/Build/Mac/Pushwoosh.framework/Versions/A/Headers/PushNotificationManager.h index 4db7f30513..8874332c1e 100644 --- a/iphone/Maps/3party/Carthage/Build/Mac/Pushwoosh.framework/Versions/A/Headers/PushNotificationManager.h +++ b/iphone/Maps/3party/Carthage/Build/Mac/Pushwoosh.framework/Versions/A/Headers/PushNotificationManager.h @@ -12,7 +12,7 @@ #import #endif -#define PUSHWOOSH_VERSION @"5.5.3" +#define PUSHWOOSH_VERSION @"5.9.0" @class PushNotificationManager; @@ -122,14 +122,28 @@ typedef void (^PushwooshErrorHandler)(NSError *error); @param code In-App code */ -- (void)onInAppClosed:(NSString *)code; +- (void)onInAppClosed:(NSString *)code __attribute__((deprecated("Use PWRichMediaPresentingDelegate protocol from PWRichMediaManager.h"))); /** Tells the delegate that In-App with specified code has been displayed @param code In-App code */ -- (void)onInAppDisplayed:(NSString *)code; +- (void)onInAppDisplayed:(NSString *)code __attribute__((deprecated("Use PWRichMediaPresentingDelegate protocol from PWRichMediaManager.h"))); + + +#if TARGET_OS_IPHONE +/** + The method will be called on the delegate when the application is launched in response to the user's request to view in-app notification settings. + Add UNAuthorizationOptionProvidesAppNotificationSettings as an option in [PushNotificationManager pushManager].additionalAuthorizationOptions to add a button to inline notification settings view and the notification settings view in Settings. + The notification will be nil when opened from Settings. + + @param pushManager PushNotificationManager instance + @param notification Source notification + */ +- (void)pushManager:(PushNotificationManager *)pushManager openSettingsForNotification:(UNNotification *)notification __IOS_AVAILABLE(12.0); + +#endif @end @@ -160,7 +174,7 @@ typedef void (^PushwooshErrorHandler)(NSError *error); @end /** - `PushNotificationManager` class offers access to the singletone-instance of the push manager responsible for registering the device with the APS servers, receiving and processing push notifications. + `PushNotificationManager` class offers access to the singleton-instance of the push manager responsible for registering the device with the APS servers, receiving and processing push notifications. */ @interface PushNotificationManager : NSObject { } @@ -188,6 +202,11 @@ typedef void (^PushwooshErrorHandler)(NSError *error); */ @property (nonatomic, assign) BOOL showPushnotificationAlert; +/** + Authorization options in addition to UNAuthorizationOptionBadge | UNAuthorizationOptionSound | UNAuthorizationOptionAlert | UNAuthorizationOptionCarPlay. + */ +@property (nonatomic) UNAuthorizationOptions additionalAuthorizationOptions __IOS_AVAILABLE(12.0); + #endif /** @@ -229,19 +248,24 @@ typedef void (^PushwooshErrorHandler)(NSError *error); - (void)registerForPushNotifications; /** - Unregisters from push notifications. You should call this method in rare circumstances only, such as when a new version of the app drops support for remote notifications. Users can temporarily prevent apps from receiving remote notifications through the Notifications section of the Settings app. Apps unregistered through this method can always re-register. + Unregisters from push notifications. */ -- (void)unregisterForPushNotifications; +- (void)unregisterForPushNotificationsWithCompletion:(void (^)(NSError *error))completion; /** - Deprecated. Use initializeWithAppCode:appName: method class + Deprecated. Use unregisterForPushNotificationsWithCompletion: method instead + */ +- (void)unregisterForPushNotifications __attribute__((deprecated)); + +/** + Deprecated. Use initializeWithAppCode:appName: method instead */ - (instancetype)initWithApplicationCode:(NSString *)appCode appName:(NSString *)appName __attribute__((deprecated)); #if TARGET_OS_IPHONE /** - Deprecated. Use initializeWithAppCode:appName: method class + Deprecated. Use initializeWithAppCode:appName: method instead */ - (id)initWithApplicationCode:(NSString *)appCode navController:(UIViewController *)navController appName:(NSString *)appName __attribute__((deprecated)); @@ -367,7 +391,7 @@ typedef void (^PushwooshErrorHandler)(NSError *error); - (void)handlePushRegistrationFailure:(NSError *)error; -//if the push is received while the app is running. +//If the push is received while the app is running. Call it only for iOS version < 10. For iOS 10 and higher use notificationCenterDelegate. - (BOOL)handlePushReceived:(NSDictionary *)userInfo; /** diff --git a/iphone/Maps/3party/Carthage/Build/Mac/Pushwoosh.framework/Versions/A/Headers/Pushwoosh.h b/iphone/Maps/3party/Carthage/Build/Mac/Pushwoosh.framework/Versions/A/Headers/Pushwoosh.h index 30364db08b..88d10edd58 100644 --- a/iphone/Maps/3party/Carthage/Build/Mac/Pushwoosh.framework/Versions/A/Headers/Pushwoosh.h +++ b/iphone/Maps/3party/Carthage/Build/Mac/Pushwoosh.framework/Versions/A/Headers/Pushwoosh.h @@ -7,6 +7,7 @@ #import "PushNotificationManager.h" #import "PWInAppManager.h" #import "PWLog.h" +#import "PWGDPRManager.h" #if TARGET_OS_IPHONE #import "PWInbox.h" diff --git a/iphone/Maps/3party/Carthage/Build/Mac/Pushwoosh.framework/Versions/A/Pushwoosh b/iphone/Maps/3party/Carthage/Build/Mac/Pushwoosh.framework/Versions/A/Pushwoosh index 5b92dbc70b..c0e65f9093 100755 Binary files a/iphone/Maps/3party/Carthage/Build/Mac/Pushwoosh.framework/Versions/A/Pushwoosh and b/iphone/Maps/3party/Carthage/Build/Mac/Pushwoosh.framework/Versions/A/Pushwoosh differ diff --git a/iphone/Maps/3party/Carthage/Build/Mac/Pushwoosh.framework/Versions/A/Resources/Info.plist b/iphone/Maps/3party/Carthage/Build/Mac/Pushwoosh.framework/Versions/A/Resources/Info.plist index 2775dd2519..ad80a2ae1c 100644 --- a/iphone/Maps/3party/Carthage/Build/Mac/Pushwoosh.framework/Versions/A/Resources/Info.plist +++ b/iphone/Maps/3party/Carthage/Build/Mac/Pushwoosh.framework/Versions/A/Resources/Info.plist @@ -3,7 +3,7 @@ BuildMachineOSBuild - 16G29 + 17G65 CFBundleDevelopmentRegion en CFBundleExecutable @@ -27,17 +27,17 @@ DTCompiler com.apple.compilers.llvm.clang.1_0 DTPlatformBuild - 9A235 + 10A255 DTPlatformVersion GM DTSDKBuild - 17A360 + 18A384 DTSDKName - macosx10.13 + macosx10.14 DTXcode - 0900 + 1000 DTXcodeBuild - 9A235 + 10A255 NSHumanReadableCopyright Copyright © 2017 Pushwoosh. All rights reserved. diff --git a/iphone/Maps/3party/Carthage/Build/iOS/Alamofire.framework/Alamofire b/iphone/Maps/3party/Carthage/Build/iOS/Alamofire.framework/Alamofire index cdeb2b4072..a6ea15c384 100755 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/Alamofire.framework/Alamofire and b/iphone/Maps/3party/Carthage/Build/iOS/Alamofire.framework/Alamofire differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/AlamofireImage.framework/AlamofireImage b/iphone/Maps/3party/Carthage/Build/iOS/AlamofireImage.framework/AlamofireImage index 602192b8c0..393137a782 100755 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/AlamofireImage.framework/AlamofireImage and b/iphone/Maps/3party/Carthage/Build/iOS/AlamofireImage.framework/AlamofireImage differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/AppsFlyerTracker.framework/AppsFlyerTracker b/iphone/Maps/3party/Carthage/Build/iOS/AppsFlyerTracker.framework/AppsFlyerTracker index 1967e73d39..67cc1ca5af 100755 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/AppsFlyerTracker.framework/AppsFlyerTracker and b/iphone/Maps/3party/Carthage/Build/iOS/AppsFlyerTracker.framework/AppsFlyerTracker differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/AppsFlyerTracker.framework/Headers/AppsFlyerLib-Prefix.pch b/iphone/Maps/3party/Carthage/Build/iOS/AppsFlyerTracker.framework/Headers/AppsFlyerLib-Prefix.pch index 0fd9b4d430..9d4f5d9b03 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/AppsFlyerTracker.framework/Headers/AppsFlyerLib-Prefix.pch +++ b/iphone/Maps/3party/Carthage/Build/iOS/AppsFlyerTracker.framework/Headers/AppsFlyerLib-Prefix.pch @@ -6,5 +6,5 @@ #import #endif -#define kAppsFlyerSDKBuildNumber @"4.8.2" -#define kJenkinsBuildNumber @"617" +#define kAppsFlyerSDKBuildNumber @"4.8.9" +#define kJenkinsBuildNumber @"728" diff --git a/iphone/Maps/3party/Carthage/Build/iOS/AppsFlyerTracker.framework/Headers/AppsFlyerTracker.h b/iphone/Maps/3party/Carthage/Build/iOS/AppsFlyerTracker.framework/Headers/AppsFlyerTracker.h index 24b4bbb99d..c33cae3aa2 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/AppsFlyerTracker.framework/Headers/AppsFlyerTracker.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/AppsFlyerTracker.framework/Headers/AppsFlyerTracker.h @@ -2,7 +2,7 @@ // AppsFlyerTracker.h // AppsFlyerLib // -// AppsFlyer iOS SDK 4.8.2 (617) +// AppsFlyer iOS SDK 4.8.9 (728) // Copyright (c) 2013 AppsFlyer Ltd. All rights reserved. // @@ -36,10 +36,14 @@ #define AFEventOpenedFromPushNotification @"af_opened_from_push_notification" #define AFEventLocation @"af_location_coordinates" #define AFEventCustomerSegment @"af_customer_segment" -#define AFEventContent @"af_content" +#define AFEventSubscribe @"af_subscribe" +#define AFEventStartTrial @"af_start_trial" +#define AFEventAdClick @"af_ad_click" +#define AFEventAdView @"af_ad_view" // In app event parameter names +#define AFEventParamContent @"af_content" #define AFEventParamAchievenmentId @"af_achievement_id" #define AFEventParamLevel @"af_level" #define AFEventParamScore @"af_score" @@ -112,12 +116,17 @@ #define AFEventParamHotelScore @"af_hotel_score" #define AFEventParamPurchaseCurrency @"af_purchase_currency" -#define AFEventParamPreferredStarRatings @"af_preferred_star_ratings" //array of int (basically a tupple (min,max) but we'll use array of int and instruct the developer to use two values) +#define AFEventParamPreferredStarRatings @"af_preferred_star_ratings" //array of int (basically a tupple (min,max) but we'll use array of int and instruct the developer to use two values) -#define AFEventParamPreferredPriceRange @"af_preferred_price_range" //array of int (basically a tupple (min,max) but we'll use array of int and instruct the developer to use two values) +#define AFEventParamPreferredPriceRange @"af_preferred_price_range" //array of int (basically a tupple (min,max) but we'll use array of int and instruct the developer to use two values) #define AFEventParamPreferredNeighborhoods @"af_preferred_neighborhoods" //array of string #define AFEventParamPreferredNumStops @"af_preferred_num_stops" +#define AFEventParamAdRevenueAdType @"af_adrev_ad_type" +#define AFEventParamAdRevenueNetworkName @"af_adrev_network_name" +#define AFEventParamAdRevenuePlacementId @"af_adrev_placement_id" +#define AFEventParamAdRevenueAdSize @"af_adrev_ad_size" +#define AFEventParamAdRevenueMediatedNetworkName @"af_adrev_mediated_network_name" #define kAppsFlyerOneLinkVersion @"oneLinkVersion" #define kAppsFlyerOneLinkScheme @"oneLinkScheme" @@ -149,9 +158,7 @@ typedef enum { @end -@interface AppsFlyerTracker : NSObject { - BOOL permitAggregateiAdData; -} +@interface AppsFlyerTracker : NSObject +(AppsFlyerTracker*) sharedTracker; @@ -187,8 +194,8 @@ typedef enum { @property (nonatomic, setter = setIsDebug:) BOOL isDebug; -/* - * Set this flag to NO, to not collect the device name. +/*! + * Set this flag to `YES`, to collect the current device name. Default value is `NO` */ @property (nonatomic, setter = setShouldCollectDeviceName:) BOOL shouldCollectDeviceName; @@ -333,5 +340,10 @@ typedef enum { * Default value is 5 seconds. */ @property (atomic) NSUInteger minTimeBetweenSessions; - + +/*! + * WARNING! This will disable all requests from AppsFlyer SDK + */ +@property (atomic) BOOL isStopTracking; + @end diff --git a/iphone/Maps/3party/Carthage/Build/iOS/Bolts.framework/Bolts b/iphone/Maps/3party/Carthage/Build/iOS/Bolts.framework/Bolts index 73f0657fc9..8002b83cb7 100755 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/Bolts.framework/Bolts and b/iphone/Maps/3party/Carthage/Build/iOS/Bolts.framework/Bolts differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/Bolts.framework/Info.plist b/iphone/Maps/3party/Carthage/Build/iOS/Bolts.framework/Info.plist index 2f31b4762e..af7756dacc 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/Bolts.framework/Info.plist and b/iphone/Maps/3party/Carthage/Build/iOS/Bolts.framework/Info.plist differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/CoreActionSheetPicker.framework/CoreActionSheetPicker b/iphone/Maps/3party/Carthage/Build/iOS/CoreActionSheetPicker.framework/CoreActionSheetPicker index 87d2062038..21ce1845d9 100755 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/CoreActionSheetPicker.framework/CoreActionSheetPicker and b/iphone/Maps/3party/Carthage/Build/iOS/CoreActionSheetPicker.framework/CoreActionSheetPicker differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/CoreActionSheetPicker.framework/Info.plist b/iphone/Maps/3party/Carthage/Build/iOS/CoreActionSheetPicker.framework/Info.plist index 3686a07c30..55a2a089a4 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/CoreActionSheetPicker.framework/Info.plist and b/iphone/Maps/3party/Carthage/Build/iOS/CoreActionSheetPicker.framework/Info.plist differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/FBSDKCoreKit b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/FBSDKCoreKit index f73426bee7..465a4172dc 100755 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/FBSDKCoreKit and b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/FBSDKCoreKit differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h index ef54b15168..7bf9088316 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h @@ -60,6 +60,12 @@ FBSDK_EXTERN NSString *const FBSDKAccessTokenChangeOldKey; */ FBSDK_EXTERN NSString *const FBSDKAccessTokenChangeNewKey; +/* + A key in the notification's userInfo that will be set + if and only if the token has expired. + */ +FBSDK_EXTERN NSString *const FBSDKAccessTokenDidExpire; + /** Represents an immutable access token for using Facebook services. @@ -101,20 +107,25 @@ FBSDK_EXTERN NSString *const FBSDKAccessTokenChangeNewKey; */ @property (readonly, copy, nonatomic) NSString *userID; +/** + Returns whether the access token is expired by checking its expirationDate property + */ +@property (readonly, assign, nonatomic, getter = isExpired) BOOL expired; + - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; /** Initializes a new instance. - - Parameter tokenString: the opaque token string. - - Parameter permissions: the granted permissions. Note this is converted to NSSet and is only + @param tokenString the opaque token string. + @param permissions the granted permissions. Note this is converted to NSSet and is only an NSArray for the convenience of literal syntax. - - Parameter declinedPermissions: the declined permissions. Note this is converted to NSSet and is only + @param declinedPermissions the declined permissions. Note this is converted to NSSet and is only an NSArray for the convenience of literal syntax. - - Parameter appID: the app ID. - - Parameter userID: the user ID. - - Parameter expirationDate: the optional expiration date (defaults to distantFuture). - - Parameter refreshDate: the optional date the token was last refreshed (defaults to today). + @param appID the app ID. + @param userID the user ID. + @param expirationDate the optional expiration date (defaults to distantFuture). + @param refreshDate the optional date the token was last refreshed (defaults to today). This initializer should only be used for advanced apps that manage tokens explicitly. Typical login flows only need to use `FBSDKLoginManager` @@ -131,14 +142,14 @@ NS_DESIGNATED_INITIALIZER; /** Convenience getter to determine if a permission has been granted - - Parameter permission: The permission to check. + @param permission The permission to check. */ - (BOOL)hasGranted:(NSString *)permission; /** Compares the receiver to another FBSDKAccessToken - - Parameter token: The other token - - Returns: YES if the receiver's values are equal to the other token's values; otherwise NO + @param token The other token + @return YES if the receiver's values are equal to the other token's values; otherwise NO */ - (BOOL)isEqualToAccessToken:(FBSDKAccessToken *)token; @@ -150,9 +161,15 @@ NS_DESIGNATED_INITIALIZER; */ + (FBSDKAccessToken *)currentAccessToken; +/** + Returns YES if currentAccessToken is not nil AND currentAccessToken is not expired + + */ ++ (BOOL)currentAccessTokenIsActive; + /** Sets the "global" access token that represents the currently logged in user. - - Parameter token: The access token to set. + @param token The access token to set. This will broadcast a notification and save the token to the app keychain. */ @@ -161,7 +178,7 @@ NS_DESIGNATED_INITIALIZER; /** Refresh the current access token's permission state and extend the token's expiration date, if possible. - - Parameter completionHandler: an optional callback handler that can surface any errors related to permission refreshing. + @param completionHandler an optional callback handler that can surface any errors related to permission refreshing. On a successful refresh, the currentAccessToken will be updated so you typically only need to observe the `FBSDKAccessTokenDidChangeNotification` notification. diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h index 71260ca8c6..69b844b759 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h @@ -18,6 +18,10 @@ #import +#if !TARGET_OS_TV +#import +#endif + #import #import "FBSDKMacros.h" @@ -51,6 +55,45 @@ typedef NS_ENUM(NSUInteger, FBSDKAppEventsFlushBehavior) }; +/** + NS_ENUM(NSUInteger, FBSDKProductAvailability) + Specifies product availability for Product Catalog product item update + */ +typedef NS_ENUM(NSUInteger, FBSDKProductAvailability) +{ + /** + * Item ships immediately + */ + FBSDKProductAvailabilityInStock = 0, + /** + * No plan to restock + */ + FBSDKProductAvailabilityOutOfStock, + /** + * Available in future + */ + FBSDKProductAvailabilityPreOrder, + /** + * Ships in 1-2 weeks + */ + FBSDKProductAvailabilityAvailableForOrder, + /** + * Discontinued + */ + FBSDKProductAvailabilityDiscontinued, +}; + +/** + NS_ENUM(NSUInteger, FBSDKProductCondition) + Specifies product condition for Product Catalog product item update + */ +typedef NS_ENUM(NSUInteger, FBSDKProductCondition) +{ + FBSDKProductConditionNew = 0, + FBSDKProductConditionRefurbished, + FBSDKProductConditionUsed, +}; + /** @methodgroup Predefined event names for logging events common to many apps. Logging occurs through the `logEvent` family of methods on `FBSDKAppEvents`. Common event parameters are provided in the `FBSDKAppEventsParameterNames*` constants. @@ -92,6 +135,36 @@ FBSDK_EXTERN NSString *const FBSDKAppEventNameUnlockedAchievement; /** Log this event when a user has viewed a form of content in the app. */ FBSDK_EXTERN NSString *const FBSDKAppEventNameViewedContent; +/** A telephone/SMS, email, chat or other type of contact between a customer and your business. */ +FBSDK_EXTERN NSString *const FBSDKAppEventNameContact; + +/** The customization of products through a configuration tool or other application your business owns. */ +FBSDK_EXTERN NSString *const FBSDKAppEventNameCustomizeProduct; + +/** The donation of funds to your organization or cause. */ +FBSDK_EXTERN NSString *const FBSDKAppEventNameDonate; + +/** When a person finds one of your locations via web or application, with an intention to visit (example: find product at a local store). */ +FBSDK_EXTERN NSString *const FBSDKAppEventNameFindLocation; + +/** The booking of an appointment to visit one of your locations. */ +FBSDK_EXTERN NSString *const FBSDKAppEventNameSchedule; + +/** The start of a free trial of a product or service you offer (example: trial subscription). */ +FBSDK_EXTERN NSString *const FBSDKAppEventNameStartTrial; + +/** The submission of an application for a product, service or program you offer (example: credit card, educational program or job).. */ +FBSDK_EXTERN NSString *const FBSDKAppEventNameSubmitApplication; + +/** The start of a paid subscription for a product or service you offer. */ +FBSDK_EXTERN NSString *const FBSDKAppEventNameSubscribe; + +/** Log this event when the user views an ad. */ +FBSDK_EXTERN NSString *const FBSDKAppEventNameAdImpression; + +/** Log this event when the user clicks an ad. */ +FBSDK_EXTERN NSString *const FBSDKAppEventNameAdClick; + /** @methodgroup Predefined event name parameters for common additional information to accompany events logged through the `logEvent` family of methods on `FBSDKAppEvents`. Common event names are provided in the `FBAppEventName*` constants. @@ -149,6 +222,14 @@ FBSDK_EXTERN NSString *const FBSDKAppEventParameterValueYes; /** No-valued parameter value to be used with parameter keys that need a Yes/No value */ FBSDK_EXTERN NSString *const FBSDKAppEventParameterValueNo; +/** Parameter key used to specify the type of ad in an FBSDKAppEventNameAdImpression + * or FBSDKAppEventNameAdClick event. + * E.g. "banner", "interstitial", "rewarded_video", "native" */ +FBSDK_EXTERN NSString *const FBSDKAppEventParameterNameAdType; + +/** Parameter key used to specify the unique ID for all events within a subscription + * in an FBSDKAppEventNameSubscribe or FBSDKAppEventNameStartTrial event. */ +FBSDK_EXTERN NSString *const FBSDKAppEventParameterNameOrderID; /** @@ -209,7 +290,7 @@ FBSDK_EXTERN NSString *const FBSDKAppEventParameterValueNo; Log an event with just an eventName. - - Parameter eventName: The name of the event to record. Limitations on number of events and name length + @param eventName The name of the event to record. Limitations on number of events and name length are given in the `FBSDKAppEvents` documentation. */ @@ -219,10 +300,10 @@ FBSDK_EXTERN NSString *const FBSDKAppEventParameterValueNo; Log an event with an eventName and a numeric value to be aggregated with other events of this name. - - Parameter eventName: The name of the event to record. Limitations on number of events and name length + @param eventName The name of the event to record. Limitations on number of events and name length are given in the `FBSDKAppEvents` documentation. Common event names are provided in `FBAppEventName*` constants. - - Parameter valueToSum: Amount to be aggregated into all events of this eventName, and App Insights will report + @param valueToSum Amount to be aggregated into all events of this eventName, and App Insights will report the cumulative and average value of this amount. */ + (void)logEvent:(NSString *)eventName @@ -234,10 +315,10 @@ FBSDK_EXTERN NSString *const FBSDKAppEventParameterValueNo; Log an event with an eventName and a set of key/value pairs in the parameters dictionary. Parameter limitations are described above. - - Parameter eventName: The name of the event to record. Limitations on number of events and name construction + @param eventName The name of the event to record. Limitations on number of events and name construction are given in the `FBSDKAppEvents` documentation. Common event names are provided in `FBAppEventName*` constants. - - Parameter parameters: Arbitrary parameter dictionary of characteristics. The keys to this dictionary must + @param parameters Arbitrary parameter dictionary of characteristics. The keys to this dictionary must be NSString's, and the values are expected to be NSString or NSNumber. Limitations on the number of parameters and name construction are given in the `FBSDKAppEvents` documentation. Commonly used parameter names are provided in `FBSDKAppEventParameterName*` constants. @@ -250,13 +331,13 @@ FBSDK_EXTERN NSString *const FBSDKAppEventParameterValueNo; Log an event with an eventName, a numeric value to be aggregated with other events of this name, and a set of key/value pairs in the parameters dictionary. - - Parameter eventName: The name of the event to record. Limitations on number of events and name construction + @param eventName The name of the event to record. Limitations on number of events and name construction are given in the `FBSDKAppEvents` documentation. Common event names are provided in `FBAppEventName*` constants. - - Parameter valueToSum: Amount to be aggregated into all events of this eventName, and App Insights will report + @param valueToSum Amount to be aggregated into all events of this eventName, and App Insights will report the cumulative and average value of this amount. - - Parameter parameters: Arbitrary parameter dictionary of characteristics. The keys to this dictionary must + @param parameters Arbitrary parameter dictionary of characteristics. The keys to this dictionary must be NSString's, and the values are expected to be NSString or NSNumber. Limitations on the number of parameters and name construction are given in the `FBSDKAppEvents` documentation. Commonly used parameter names are provided in `FBSDKAppEventParameterName*` constants. @@ -273,19 +354,19 @@ FBSDK_EXTERN NSString *const FBSDKAppEventParameterValueNo; and a set of key/value pairs in the parameters dictionary. Providing session lets the developer target a particular . If nil is provided, then `[FBSession activeSession]` will be used. - - Parameter eventName: The name of the event to record. Limitations on number of events and name construction + @param eventName The name of the event to record. Limitations on number of events and name construction are given in the `FBSDKAppEvents` documentation. Common event names are provided in `FBAppEventName*` constants. - - Parameter valueToSum: Amount to be aggregated into all events of this eventName, and App Insights will report + @param valueToSum Amount to be aggregated into all events of this eventName, and App Insights will report the cumulative and average value of this amount. Note that this is an NSNumber, and a value of `nil` denotes that this event doesn't have a value associated with it for summation. - - Parameter parameters: Arbitrary parameter dictionary of characteristics. The keys to this dictionary must + @param parameters Arbitrary parameter dictionary of characteristics. The keys to this dictionary must be NSString's, and the values are expected to be NSString or NSNumber. Limitations on the number of parameters and name construction are given in the `FBSDKAppEvents` documentation. Commonly used parameter names are provided in `FBSDKAppEventParameterName*` constants. - - Parameter accessToken: The optional access token to log the event as. + @param accessToken The optional access token to log the event as. */ + (void)logEvent:(NSString *)eventName valueToSum:(NSNumber *)valueToSum @@ -300,10 +381,10 @@ FBSDK_EXTERN NSString *const FBSDKAppEventParameterValueNo; Log a purchase of the specified amount, in the specified currency. - - Parameter purchaseAmount: Purchase amount to be logged, as expressed in the specified currency. This value + @param purchaseAmount Purchase amount to be logged, as expressed in the specified currency. This value will be rounded to the thousandths place (e.g., 12.34567 becomes 12.346). - - Parameter currency: Currency, is denoted as, e.g. "USD", "EUR", "GBP". See ISO-4217 for + @param currency Currency, is denoted as, e.g. "USD", "EUR", "GBP". See ISO-4217 for specific values. One reference for these is . @@ -319,13 +400,13 @@ FBSDK_EXTERN NSString *const FBSDKAppEventParameterValueNo; Log a purchase of the specified amount, in the specified currency, also providing a set of additional characteristics describing the purchase. - - Parameter purchaseAmount: Purchase amount to be logged, as expressed in the specified currency.This value + @param purchaseAmount Purchase amount to be logged, as expressed in the specified currency.This value will be rounded to the thousandths place (e.g., 12.34567 becomes 12.346). - - Parameter currency: Currency, is denoted as, e.g. "USD", "EUR", "GBP". See ISO-4217 for + @param currency Currency, is denoted as, e.g. "USD", "EUR", "GBP". See ISO-4217 for specific values. One reference for these is . - - Parameter parameters: Arbitrary parameter dictionary of characteristics. The keys to this dictionary must + @param parameters Arbitrary parameter dictionary of characteristics. The keys to this dictionary must be NSString's, and the values are expected to be NSString or NSNumber. Limitations on the number of parameters and name construction are given in the `FBSDKAppEvents` documentation. Commonly used parameter names are provided in `FBSDKAppEventParameterName*` constants. @@ -344,18 +425,18 @@ FBSDK_EXTERN NSString *const FBSDKAppEventParameterValueNo; Log a purchase of the specified amount, in the specified currency, also providing a set of additional characteristics describing the purchase, as well as an to log to. - - Parameter purchaseAmount: Purchase amount to be logged, as expressed in the specified currency.This value + @param purchaseAmount Purchase amount to be logged, as expressed in the specified currency.This value will be rounded to the thousandths place (e.g., 12.34567 becomes 12.346). - - Parameter currency: Currency, is denoted as, e.g. "USD", "EUR", "GBP". See ISO-4217 for + @param currency Currency, is denoted as, e.g. "USD", "EUR", "GBP". See ISO-4217 for specific values. One reference for these is . - - Parameter parameters: Arbitrary parameter dictionary of characteristics. The keys to this dictionary must + @param parameters Arbitrary parameter dictionary of characteristics. The keys to this dictionary must be NSString's, and the values are expected to be NSString or NSNumber. Limitations on the number of parameters and name construction are given in the `FBSDKAppEvents` documentation. Commonly used parameter names are provided in `FBSDKAppEventParameterName*` constants. - - Parameter accessToken: The optional access token to log the event as. + @param accessToken The optional access token to log the event as. This event immediately triggers a flush of the `FBSDKAppEvents` event queue, unless the `flushBehavior` is set @@ -375,18 +456,58 @@ FBSDK_EXTERN NSString *const FBSDKAppEventParameterValueNo; /** Log an app event that tracks that the application was open via Push Notification. - - Parameter payload: Notification payload received via `UIApplicationDelegate`. + @param payload Notification payload received via `UIApplicationDelegate`. */ + (void)logPushNotificationOpen:(NSDictionary *)payload; /** Log an app event that tracks that a custom action was taken from a push notification. - - Parameter payload: Notification payload received via `UIApplicationDelegate`. - - Parameter action: Name of the action that was taken. + @param payload Notification payload received via `UIApplicationDelegate`. + @param action Name of the action that was taken. */ + (void)logPushNotificationOpen:(NSDictionary *)payload action:(NSString *)action; +/** + Uploads product catalog product item as an app event + @param itemID Unique ID for the item. Can be a variant for a product. + Max size is 100. + @param availability If item is in stock. Accepted values are: + in stock - Item ships immediately + out of stock - No plan to restock + preorder - Available in future + available for order - Ships in 1-2 weeks + discontinued - Discontinued + @param condition Product condition: new, refurbished or used. + @param description Short text describing product. Max size is 5000. + @param imageLink Link to item image used in ad. + @param link Link to merchant's site where someone can buy the item. + @param title Title of item. + @param priceAmount Amount of purchase, in the currency specified by the 'currency' + parameter. This value will be rounded to the thousandths place + (e.g., 12.34567 becomes 12.346). + @param currency Currency used to specify the amount. + E.g. "USD", "EUR", "GBP". See ISO-4217 for specific values. One reference for these is + @param gtin Global Trade Item Number including UPC, EAN, JAN and ISBN + @param mpn Unique manufacture ID for product + @param brand Name of the brand + Note: Either gtin, mpn or brand is required. + @param parameters Optional fields for deep link specification. + */ ++ (void)logProductItem:(NSString *)itemID + availability:(FBSDKProductAvailability)availability + condition:(FBSDKProductCondition)condition + description:(NSString *)description + imageLink:(NSString *)imageLink + link:(NSString *)link + title:(NSString *)title + priceAmount:(double)priceAmount + currency:(NSString *)currency + gtin:(NSString *)gtin + mpn:(NSString *)mpn + brand:(NSString *)brand + parameters:(NSDictionary *)parameters; + /** Notifies the events system that the app has launched and, when appropriate, logs an "activated app" event. @@ -419,7 +540,7 @@ FBSDK_EXTERN NSString *const FBSDKAppEventParameterValueNo; Sets and sends a device token from `NSData` representation that you get from `UIApplicationDelegate.-application:didRegisterForRemoteNotificationsWithDeviceToken:`. - - Parameter deviceToken: Device token data. + @param deviceToken Device token data. */ + (void)setPushNotificationsDeviceToken:(NSData *)deviceToken; @@ -437,7 +558,7 @@ FBSDK_EXTERN NSString *const FBSDKAppEventParameterValueNo; Set the current event flushing behavior specifying when events are sent back to Facebook servers. - - Parameter flushBehavior: The desired `FBSDKAppEventsFlushBehavior` to be used. + @param flushBehavior The desired `FBSDKAppEventsFlushBehavior` to be used. */ + (void)setFlushBehavior:(FBSDKAppEventsFlushBehavior)flushBehavior; @@ -454,7 +575,7 @@ FBSDK_EXTERN NSString *const FBSDKAppEventParameterValueNo; This should be set before any other calls are made to `FBSDKAppEvents`. Thus, you should set it in your application delegate's `application:didFinishLaunchingWithOptions:` delegate. - - Parameter appID: The Facebook App ID to be used for App Event logging. + @param appID The Facebook App ID to be used for App Event logging. */ + (void)setLoggingOverrideAppID:(NSString *)appID; @@ -462,7 +583,7 @@ FBSDK_EXTERN NSString *const FBSDKAppEventParameterValueNo; Get the 'override' App ID for App Event logging. -- See:setLoggingOverrideAppID: +@see setLoggingOverrideAppID: */ + (NSString *)loggingOverrideAppID; @@ -479,7 +600,7 @@ FBSDK_EXTERN NSString *const FBSDKAppEventParameterValueNo; Callers will send this ID back to their own servers, collect up a set to create a Facebook Custom Audience with, and then use the resultant Custom Audience to target ads. - - Parameter accessToken: The access token to use to establish the user's identity for users logged into Facebook through this app. + @param accessToken The access token to use to establish the user's identity for users logged into Facebook through this app. If `nil`, then the `[FBSDKAccessToken currentAccessToken]` is used. @@ -506,18 +627,68 @@ FBSDK_EXTERN NSString *const FBSDKAppEventParameterValueNo; */ + (void)setUserID:(NSString *)userID; +/* + Clears the custom user ID to associate with all app events. + */ ++ (void)clearUserID; + /* Returns the set custom user ID. */ + (NSString *)userID; +/* + Sets custom user data to associate with all app events. All user data are hashed + and used to match Facebook user from this instance of an application. + + The user data will be persisted between application instances. + + @param userData user data to identify the user. User data should be formated as + a NSDictionary of data type name and value. + Supported data types and names are: + Email: em + First Name: fn + Last Name: ln + Phone: ph + Date of Birth: db + Gender: ge + City: ct + State: st + Zip: zp + Country: country + */ ++ (void) setUserData:(NSDictionary*)userData; + +/* + Returns the set user data else nil +*/ ++ (NSString*) getUserData; + +/* + Clears the current user data +*/ ++ (void) clearUserData; + /* Sends a request to update the properties for the current user, set by `setUserID:` You must call `FBSDKAppEvents setUserID:` before making this call. - - Parameter properties: the custom user properties - - Parameter handler: the optional completion handler + @param properties the custom user properties + @param handler the optional completion handler */ + (void)updateUserProperties:(NSDictionary *)properties handler:(FBSDKGraphRequestHandler)handler; +#if !TARGET_OS_TV +/* + Intended to be used as part of a hybrid webapp. + If you call this method, the FB SDK will inject a new JavaScript object into your webview. + If the FB Pixel is used within the webview, and references the app ID of this app, + then it will detect the presence of this injected JavaScript object + and pass Pixel events back to the FB SDK for logging using the AppEvents framework. + + @param webView The webview to augment with the additional JavaScript behaviour + */ ++ (void)augmentHybridWKWebView:(WKWebView *)webView; +#endif + @end diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolver.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolver.h index c97b6b35d8..eee2f5815b 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolver.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolver.h @@ -39,8 +39,8 @@ /** Asynchronously resolves App Link data for a given URL. - - Parameter url: The URL to resolve into an App Link. - - Returns: A BFTask that will return a BFAppLink for the given URL. + @param url The URL to resolve into an App Link. + @return A BFTask that will return a BFAppLink for the given URL. */ - (BFTask *)appLinkFromURLInBackground:(NSURL *)url; @@ -64,8 +64,8 @@ /** Asynchronously resolves App Link data for multiple URLs. - - Parameter urls: An array of NSURLs to resolve into App Links. - - Returns: A BFTask that will return dictionary mapping input NSURLs to their + @param urls An array of NSURLs to resolve into App Links. + @return A BFTask that will return dictionary mapping input NSURLs to their corresponding BFAppLink. diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h index 1cc549a195..c242f290de 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h @@ -20,8 +20,8 @@ /** Describes the callback for fetchDeferredAppLink. - - Parameter url: the url representing the deferred App Link - - Parameter error: the error during the request, if any + @param url the url representing the deferred App Link + @param error the error during the request, if any The url may also have a fb_click_time_utc query parameter that @@ -32,7 +32,7 @@ typedef void (^FBSDKDeferredAppLinkHandler)(NSURL *url, NSError *error); /** Describes the callback for fetchOrganicDeferredAppLink. - - Parameter url: the url representing the deferred App Link + @param url the url representing the deferred App Link */ typedef void (^FBSDKDeferredAppInviteHandler)(NSURL *url); @@ -49,7 +49,7 @@ typedef void (^FBSDKDeferredAppInviteHandler)(NSURL *url); data (this will only return a valid URL once, and future calls will result in a nil URL value in the callback). - - Parameter handler: the handler to be invoked if there is deferred App Link data + @param handler the handler to be invoked if there is deferred App Link data The handler may contain an NSError instance to capture any errors. In the @@ -63,7 +63,7 @@ typedef void (^FBSDKDeferredAppInviteHandler)(NSURL *url); /** -- Warning:This method is no longer available and will always return NO. +@warning This method is no longer available and will always return NO. */ + (BOOL)fetchDeferredAppInvite:(FBSDKDeferredAppInviteHandler)handler __attribute__((deprecated("This method is no longer available.")));; @@ -75,9 +75,9 @@ __attribute__((deprecated("This method is no longer available.")));; Note: This throws an exception if Bolts.framework is not linked. Add '[BFURL class]' in intialize method of your AppDelegate. - - Parameter url: App Link url that was passed to the app. + @param url App Link url that was passed to the app. - - Returns: Promotion code string. + @return Promotion code string. Call this method to fetch App Invite Promotion Code from applink if present. diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h index ebaef4d380..c1eca10f70 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h @@ -41,15 +41,15 @@ of the AppDelegate for your app. It should be invoked for the proper processing of responses during interaction with the native Facebook app or Safari as part of SSO authorization flow or Facebook dialogs. - - Parameter application: The application as passed to [UIApplicationDelegate application:openURL:sourceApplication:annotation:]. + @param application The application as passed to [UIApplicationDelegate application:openURL:sourceApplication:annotation:]. - - Parameter url: The URL as passed to [UIApplicationDelegate application:openURL:sourceApplication:annotation:]. + @param url The URL as passed to [UIApplicationDelegate application:openURL:sourceApplication:annotation:]. - - Parameter sourceApplication: The sourceApplication as passed to [UIApplicationDelegate application:openURL:sourceApplication:annotation:]. + @param sourceApplication The sourceApplication as passed to [UIApplicationDelegate application:openURL:sourceApplication:annotation:]. - - Parameter annotation: The annotation as passed to [UIApplicationDelegate application:openURL:sourceApplication:annotation:]. + @param annotation The annotation as passed to [UIApplicationDelegate application:openURL:sourceApplication:annotation:]. - - Returns: YES if the url was intended for the Facebook SDK, NO if not. + @return YES if the url was intended for the Facebook SDK, NO if not. */ - (BOOL)application:(UIApplication *)application openURL:(NSURL *)url @@ -62,13 +62,13 @@ of the AppDelegate for your app. It should be invoked for the proper processing of responses during interaction with the native Facebook app or Safari as part of SSO authorization flow or Facebook dialogs. - - Parameter application: The application as passed to [UIApplicationDelegate application:openURL:options:]. + @param application The application as passed to [UIApplicationDelegate application:openURL:options:]. - - Parameter url: The URL as passed to [UIApplicationDelegate application:openURL:options:]. + @param url The URL as passed to [UIApplicationDelegate application:openURL:options:]. - - Parameter options: The options dictionary as passed to [UIApplicationDelegate application:openURL:options:]. + @param options The options dictionary as passed to [UIApplicationDelegate application:openURL:options:]. - - Returns: YES if the url was intended for the Facebook SDK, NO if not. + @return YES if the url was intended for the Facebook SDK, NO if not. */ - (BOOL)application:(UIApplication *)application openURL:(NSURL *)url @@ -81,11 +81,11 @@ As part of SDK initialization basic auto logging of app events will occur, this can be controlled via 'FacebookAutoLogAppEventsEnabled' key in the project info plist file. - - Parameter application: The application as passed to [UIApplicationDelegate application:didFinishLaunchingWithOptions:]. + @param application The application as passed to [UIApplicationDelegate application:didFinishLaunchingWithOptions:]. - - Parameter launchOptions: The launchOptions as passed to [UIApplicationDelegate application:didFinishLaunchingWithOptions:]. + @param launchOptions The launchOptions as passed to [UIApplicationDelegate application:didFinishLaunchingWithOptions:]. - - Returns: YES if the url was intended for the Facebook SDK, NO if not. + @return YES if the url was intended for the Facebook SDK, NO if not. */ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions; diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKConstants.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKConstants.h index 98cfd73c3a..fc2779f95d 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKConstants.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKConstants.h @@ -111,7 +111,7 @@ typedef NS_ENUM(NSInteger, FBSDKErrorCode) /** -- Warning:use FBSDKBrowserUnavailableErrorCode instead +@warning use FBSDKBrowserUnavailableErrorCode instead */ FBSDKBrowswerUnavailableErrorCode __attribute__ ((deprecated("use FBSDKBrowserUnavailableErrorCode instead"))) = FBSDKBrowserUnavailableErrorCode, }; @@ -207,11 +207,11 @@ FBSDK_EXTERN NSString *const FBSDKGraphRequestErrorParsedJSONResponseKey; /** attempt the recovery - - Parameter error: the error - - Parameter recoveryOptionIndex: the selected option index - - Parameter delegate: the delegate - - Parameter didRecoverSelector: the callback selector, see discussion. - - Parameter contextInfo: context info to pass back to callback selector, see discussion. + @param error the error + @param recoveryOptionIndex the selected option index + @param delegate the delegate + @param didRecoverSelector the callback selector, see discussion. + @param contextInfo context info to pass back to callback selector, see discussion. Given that an error alert has been presented document-modally to the user, and the user has chosen one of the error's recovery options, attempt recovery from the error, and send the selected message to the specified delegate. The option index is an index into the error's array of localized recovery options. The method selected by didRecoverSelector must have the same signature as: diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKCopying.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKCopying.h index c84975ca4c..039302bcc5 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKCopying.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKCopying.h @@ -27,7 +27,7 @@ /** Implemented by NSObject as a convenience to copyWithZone:. - - Returns: A copy of the receiver. + @return A copy of the receiver. */ - (id)copy; diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h index afa0e371d8..449a541bd8 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h @@ -44,5 +44,5 @@ #import #endif -#define FBSDK_VERSION_STRING @"4.30.0" -#define FBSDK_TARGET_PLATFORM_VERSION @"v2.11" +#define FBSDK_VERSION_STRING @"4.36.0" +#define FBSDK_TARGET_PLATFORM_VERSION @"v3.1" diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h index 658bc46eec..1fb560e838 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h @@ -30,17 +30,17 @@ /** Indicates the error recovery has been attempted. - - Parameter processor: the processor instance. - - Parameter didRecover: YES if the recovery was successful. - - Parameter error: the error that that was attempted to be recovered from. + @param processor the processor instance. + @param didRecover YES if the recovery was successful. + @param error the error that that was attempted to be recovered from. */ - (void)processorDidAttemptRecovery:(FBSDKGraphErrorRecoveryProcessor *)processor didRecover:(BOOL)didRecover error:(NSError *)error; @optional /** Indicates the processor is about to process the error. - - Parameter processor: the processor instance. - - Parameter error: the error is about to be processed. + @param processor the processor instance. + @param error the error is about to be processed. return NO if the processor should not process the error. For example, if you want to prevent alerts of localized messages but otherwise perform retries and recoveries, @@ -83,16 +83,16 @@ /** Attempts to process the error, return YES if the error can be processed. - - Parameter error: the error to process. - - Parameter request: the related request that may be reissued. - - Parameter delegate: the delegate that will be retained until recovery is complete. + @param error the error to process. + @param request the related request that may be reissued. + @param delegate the delegate that will be retained until recovery is complete. */ - (BOOL)processError:(NSError *)error request:(FBSDKGraphRequest *)request delegate:(id) delegate; /** The callback for FBSDKErrorRecoveryAttempting - - Parameter didRecover: if the recovery succeeded - - Parameter contextInfo: unused + @param didRecover if the recovery succeeded + @param contextInfo unused */ - (void)didPresentErrorWithRecovery:(BOOL)didRecover contextInfo:(void *)contextInfo; diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h index 2743ec3ad3..99b1de3843 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h @@ -39,23 +39,23 @@ By default, FBSDKGraphRequest will attempt to recover any errors returned from Facebook. You can disable this via `disableErrorRecovery:`. -- See:FBSDKGraphErrorRecoveryProcessor + @see FBSDKGraphErrorRecoveryProcessor */ @interface FBSDKGraphRequest : NSObject /** Initializes a new instance that use use `[FBSDKAccessToken currentAccessToken]`. - - Parameter graphPath: the graph path (e.g., @"me"). - - Parameter parameters: the optional parameters dictionary. + @param graphPath the graph path (e.g., @"me"). + @param parameters the optional parameters dictionary. */ - (instancetype)initWithGraphPath:(NSString *)graphPath parameters:(NSDictionary *)parameters; /** Initializes a new instance that use use `[FBSDKAccessToken currentAccessToken]`. - - Parameter graphPath: the graph path (e.g., @"me"). - - Parameter parameters: the optional parameters dictionary. - - Parameter HTTPMethod: the optional HTTP method. nil defaults to @"GET". + @param graphPath the graph path (e.g., @"me"). + @param parameters the optional parameters dictionary. + @param HTTPMethod the optional HTTP method. nil defaults to @"GET". */ - (instancetype)initWithGraphPath:(NSString *)graphPath parameters:(NSDictionary *)parameters @@ -63,11 +63,11 @@ /** Initializes a new instance. - - Parameter graphPath: the graph path (e.g., @"me"). - - Parameter parameters: the optional parameters dictionary. - - Parameter tokenString: the token string to use. Specifying nil will cause no token to be used. - - Parameter version: the optional Graph API version (e.g., @"v2.0"). nil defaults to `[FBSDKSettings graphAPIVersion]`. - - Parameter HTTPMethod: the optional HTTP method (e.g., @"POST"). nil defaults to @"GET". + @param graphPath the graph path (e.g., @"me"). + @param parameters the optional parameters dictionary. + @param tokenString the token string to use. Specifying nil will cause no token to be used. + @param version the optional Graph API version (e.g., @"v2.0"). nil defaults to `[FBSDKSettings graphAPIVersion]`. + @param HTTPMethod the optional HTTP method (e.g., @"POST"). nil defaults to @"GET". */ - (instancetype)initWithGraphPath:(NSString *)graphPath parameters:(NSDictionary *)parameters @@ -103,7 +103,7 @@ NS_DESIGNATED_INITIALIZER; /** If set, disables the automatic error recovery mechanism. - - Parameter disable: whether to disable the automatic error recovery mechanism + @param disable whether to disable the automatic error recovery mechanism By default, non-batched FBSDKGraphRequest instances will automatically try to recover from errors by constructing a `FBSDKGraphErrorRecoveryProcessor` instance that @@ -116,7 +116,7 @@ NS_DESIGNATED_INITIALIZER; /** Starts a connection to the Graph API. - - Parameter handler: The handler block to call when the request completes. + @param handler The handler block to call when the request completes. */ - (FBSDKGraphRequestConnection *)startWithCompletionHandler:(FBSDKGraphRequestHandler)handler; diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h index 3eca5840f3..b8cc0f3b7c 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h @@ -34,13 +34,13 @@ Pass a block of this type when calling addRequest. This will be called once the request completes. The call occurs on the UI thread. - - Parameter connection: The `FBSDKGraphRequestConnection` that sent the request. + @param connection The `FBSDKGraphRequestConnection` that sent the request. - - Parameter result: The result of the request. This is a translation of + @param result The result of the request. This is a translation of JSON data to `NSDictionary` and `NSArray` objects. This is nil if there was an error. - - Parameter error: The `NSError` representing any error that occurred. + @param error The `NSError` representing any error that occurred. */ typedef void (^FBSDKGraphRequestHandler)(FBSDKGraphRequestConnection *connection, @@ -68,7 +68,7 @@ typedef void (^FBSDKGraphRequestHandler)(FBSDKGraphRequestConnection *connection start, the object returned from the convenience method has already begun loading and this method will not be called when the delegate is set. - - Parameter connection: The request connection that is starting a network request + @param connection The request connection that is starting a network request */ - (void)requestConnectionWillBeginLoading:(FBSDKGraphRequestConnection *)connection; @@ -86,7 +86,7 @@ typedef void (^FBSDKGraphRequestHandler)(FBSDKGraphRequestConnection *connection This method is invoked after the completion handler for each . - - Parameter connection: The request connection that successfully completed a network request + @param connection The request connection that successfully completed a network request */ - (void)requestConnectionDidFinishLoading:(FBSDKGraphRequestConnection *)connection; @@ -101,8 +101,8 @@ typedef void (^FBSDKGraphRequestHandler)(FBSDKGraphRequestConnection *connection argument specifies why the network connection failed. The `NSError` object passed to the FBSDKGraphRequestHandler block may contain additional information. - - Parameter connection: The request connection that successfully completed a network request - - Parameter error: The `NSError` representing the network error that occurred, if any. May be nil + @param connection The request connection that successfully completed a network request + @param error The `NSError` representing the network error that occurred, if any. May be nil in some circumstances. Consult the `NSError` for the for reliable failure information. */ @@ -120,10 +120,10 @@ typedef void (^FBSDKGraphRequestHandler)(FBSDKGraphRequestConnection *connection Like `NSURLConnection`, the values may change in unexpected ways if data needs to be resent. - - Parameter connection: The request connection transmitting data to a remote host - - Parameter bytesWritten: The number of bytes sent in the last transmission - - Parameter totalBytesWritten: The total number of bytes sent to the remote host - - Parameter totalBytesExpectedToWrite: The total number of bytes expected to send to the remote host + @param connection The request connection transmitting data to a remote host + @param bytesWritten The number of bytes sent in the last transmission + @param totalBytesWritten The total number of bytes sent to the remote host + @param totalBytesExpectedToWrite The total number of bytes expected to send to the remote host */ - (void)requestConnection:(FBSDKGraphRequestConnection *)connection didSendBodyData:(NSInteger)bytesWritten @@ -177,7 +177,7 @@ totalBytesExpectedToWrite:(NSInteger)totalBytesExpectedToWrite; This method sets the default timeout on all FBSDKGraphRequestConnection instances. Defaults to 60 seconds. - - Parameter defaultConnectionTimeout: The timeout interval. + @param defaultConnectionTimeout The timeout interval. */ + (void)setDefaultConnectionTimeout:(NSTimeInterval)defaultConnectionTimeout; @@ -190,8 +190,8 @@ totalBytesExpectedToWrite:(NSInteger)totalBytesExpectedToWrite; This method adds an object to this connection. - - Parameter request: A request to be included in the round-trip when start is called. - - Parameter handler: A handler to call back when the round-trip completes or times out. + @param request A request to be included in the round-trip when start is called. + @param handler A handler to call back when the round-trip completes or times out. @@ -206,12 +206,12 @@ totalBytesExpectedToWrite:(NSInteger)totalBytesExpectedToWrite; This method adds an object to this connection. - - Parameter request: A request to be included in the round-trip when start is called. + @param request A request to be included in the round-trip when start is called. - - Parameter handler: A handler to call back when the round-trip completes or times out. + @param handler A handler to call back when the round-trip completes or times out. The handler will be invoked on the main thread. - - Parameter name: An optional name for this request. This can be used to feed + @param name An optional name for this request. This can be used to feed the results of one request to the input of another in the same `FBSDKGraphRequestConnection` as described in [Graph API Batch Requests]( https://developers.facebook.com/docs/reference/api/batch/ ). @@ -231,11 +231,11 @@ totalBytesExpectedToWrite:(NSInteger)totalBytesExpectedToWrite; This method adds an object to this connection. - - Parameter request: A request to be included in the round-trip when start is called. + @param request A request to be included in the round-trip when start is called. - - Parameter handler: A handler to call back when the round-trip completes or times out. + @param handler A handler to call back when the round-trip completes or times out. - - Parameter batchParameters: The optional dictionary of parameters to include for this request + @param batchParameters The optional dictionary of parameters to include for this request as described in [Graph API Batch Requests]( https://developers.facebook.com/docs/reference/api/batch/ ). Examples include "depends_on", "name", or "omit_response_on_success". @@ -285,7 +285,7 @@ totalBytesExpectedToWrite:(NSInteger)totalBytesExpectedToWrite; /** Determines the operation queue that is used to call methods on the connection's delegate. - - Parameter queue: The operation queue to use when calling delegate methods. + @param queue The operation queue to use when calling delegate methods. By default, a connection is scheduled on the current thread in the default mode when it is created. You cannot reschedule a connection after it has started. @@ -305,7 +305,7 @@ totalBytesExpectedToWrite:(NSInteger)totalBytesExpectedToWrite; for applications. If you want to override the version part while using batch requests on the connection, call this method to set the version for the batch request. - - Parameter version: This is a string in the form @"v2.0" which will be used for the version part of an API path + @param version This is a string in the form @"v2.0" which will be used for the version part of an API path */ - (void)overrideVersionPartWith:(NSString *)version; diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestDataAttachment.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestDataAttachment.h index edf0f78151..17a10dfff3 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestDataAttachment.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestDataAttachment.h @@ -25,9 +25,9 @@ /** Initializes the receiver with the attachment data and metadata. - - Parameter data: The attachment data (retained, not copied) - - Parameter filename: The filename for the attachment - - Parameter contentType: The content type for the attachment + @param data The attachment data (retained, not copied) + @param filename The filename for the attachment + @param contentType The content type for the attachment */ - (instancetype)initWithData:(NSData *)data filename:(NSString *)filename diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKMutableCopying.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKMutableCopying.h index 1b351dbdf7..3fada941d2 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKMutableCopying.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKMutableCopying.h @@ -29,7 +29,7 @@ /** Implemented by NSObject as a convenience to mutableCopyWithZone:. - - Returns: A mutable copy of the receiver. + @return A mutable copy of the receiver. */ - (id)mutableCopy; diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKProfile.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKProfile.h index 1f33f16890..2c1ec263ff 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKProfile.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKProfile.h @@ -56,13 +56,13 @@ FBSDK_EXTERN NSString *const FBSDKProfileChangeNewKey; /** initializes a new instance. - - Parameter userID: the user ID - - Parameter firstName: the user's first name - - Parameter middleName: the user's middle name - - Parameter lastName: the user's last name - - Parameter name: the user's complete name - - Parameter linkURL: the link for this profile - - Parameter refreshDate: the optional date this profile was fetched. Defaults to [NSDate date]. + @param userID the user ID + @param firstName the user's first name + @param middleName the user's middle name + @param lastName the user's last name + @param name the user's complete name + @param linkURL the link for this profile + @param refreshDate the optional date this profile was fetched. Defaults to [NSDate date]. */ - (instancetype)initWithUserID:(NSString *)userID firstName:(NSString *)firstName @@ -112,7 +112,7 @@ FBSDK_EXTERN NSString *const FBSDKProfileChangeNewKey; /** Sets the current instance and posts the appropriate notification if the profile parameter is different than the receiver. - - Parameter profile: the profile to set + @param profile the profile to set This persists the profile to NSUserDefaults. */ @@ -120,7 +120,7 @@ FBSDK_EXTERN NSString *const FBSDKProfileChangeNewKey; /** Indicates if `currentProfile` will automatically observe `FBSDKAccessTokenDidChangeNotification` notifications - - Parameter enable: YES is observing + @param enable YES is observing If observing, this class will issue a graph request for public profile data when the current token's userID differs from the current profile. You can observe `FBSDKProfileDidChangeNotification` for when the profile is updated. @@ -132,7 +132,7 @@ FBSDK_EXTERN NSString *const FBSDKProfileChangeNewKey; /** Loads the current profile and passes it to the completion block. - - Parameter completion: The block to be executed once the profile is loaded + @param completion The block to be executed once the profile is loaded If the profile is already loaded, this method will call the completion block synchronously, otherwise it will begin a graph request to update `currentProfile` and then call the completion block when finished. @@ -141,26 +141,26 @@ FBSDK_EXTERN NSString *const FBSDKProfileChangeNewKey; /** A convenience method for returning a complete `NSURL` for retrieving the user's profile image. - - Parameter mode: The picture mode - - Parameter size: The height and width. This will be rounded to integer precision. + @param mode The picture mode + @param size The height and width. This will be rounded to integer precision. */ - (NSURL *)imageURLForPictureMode:(FBSDKProfilePictureMode)mode size:(CGSize)size; /** A convenience method for returning a Graph API path for retrieving the user's profile image. -- Warning:use `imageURLForPictureMode:size:` instead +@warning use `imageURLForPictureMode:size:` instead You can pass this to a `FBSDKGraphRequest` instance to download the image. - - Parameter mode: The picture mode - - Parameter size: The height and width. This will be rounded to integer precision. + @param mode The picture mode + @param size The height and width. This will be rounded to integer precision. */ - (NSString *)imagePathForPictureMode:(FBSDKProfilePictureMode)mode size:(CGSize)size __attribute__ ((deprecated("use imageURLForPictureMode:size: instead"))); /** Returns YES if the profile is equivalent to the receiver. - - Parameter profile: the profile to compare to. + @param profile the profile to compare to. */ - (BOOL)isEqualToProfile:(FBSDKProfile *)profile; @end diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKSettings.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKSettings.h index 22347b7095..f854710b79 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKSettings.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKSettings.h @@ -67,7 +67,7 @@ FBSDK_EXTERN NSString *const FBSDKLoggingBehaviorDeveloperErrors; /** Set the Facebook App ID to be used by the SDK. - - Parameter appID: The Facebook App ID to be used by the SDK. + @param appID The Facebook App ID to be used by the SDK. */ + (void)setAppID:(NSString *)appID; @@ -80,7 +80,7 @@ FBSDK_EXTERN NSString *const FBSDKLoggingBehaviorDeveloperErrors; /** Set the app url scheme suffix used by the SDK. - - Parameter appURLSchemeSuffix: The url scheme suffix to be used by the SDK. + @param appURLSchemeSuffix The url scheme suffix to be used by the SDK. */ + (void)setAppURLSchemeSuffix:(NSString *)appURLSchemeSuffix; @@ -95,14 +95,14 @@ FBSDK_EXTERN NSString *const FBSDKLoggingBehaviorDeveloperErrors; Sets the Client Token for the Facebook App. This is needed for certain API calls when made anonymously, without a user-based access token. - - Parameter clientToken: The Facebook App's "client token", which, for a given appid can be found in the Security + @param clientToken The Facebook App's "client token", which, for a given appid can be found in the Security section of the Advanced tab of the Facebook App settings found at */ + (void)setClientToken:(NSString *)clientToken; /** A convenient way to toggle error recovery for all FBSDKGraphRequest instances created after this is set. - - Parameter disableGraphErrorRecovery: YES or NO. + @param disableGraphErrorRecovery YES or NO. */ + (void)setGraphErrorRecoveryDisabled:(BOOL)disableGraphErrorRecovery; @@ -118,7 +118,7 @@ FBSDK_EXTERN NSString *const FBSDKLoggingBehaviorDeveloperErrors; This should match the Display Name that has been set for the app with the corresponding Facebook App ID, in the Facebook App Dashboard. - - Parameter displayName: The Facebook Display Name to be used by the SDK. + @param displayName The Facebook Display Name to be used by the SDK. */ + (void)setDisplayName:(NSString *)displayName; @@ -134,7 +134,7 @@ FBSDK_EXTERN NSString *const FBSDKLoggingBehaviorDeveloperErrors; This can be used to change the Facebook domain (e.g. @"beta") so that requests will be sent to graph.beta.facebook.com - - Parameter facebookDomainPart: The domain part to be inserted into facebook.com. + @param facebookDomainPart The domain part to be inserted into facebook.com. */ + (void)setFacebookDomainPart:(NSString *)facebookDomainPart; @@ -143,14 +143,14 @@ FBSDK_EXTERN NSString *const FBSDKLoggingBehaviorDeveloperErrors; If not explicitly set, the default is 0.9. -- See:[UIImageJPEGRepresentation](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIKitFunctionReference/#//apple_ref/c/func/UIImageJPEGRepresentation) */ + @see [UIImageJPEGRepresentation](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIKitFunctionReference/#//apple_ref/c/func/UIImageJPEGRepresentation) */ + (CGFloat)JPEGCompressionQuality; /** Set the quality of JPEG images sent to Facebook from the SDK. - - Parameter JPEGCompressionQuality: The quality for JPEG images, expressed as a value from 0.0 to 1.0. + @param JPEGCompressionQuality The quality for JPEG images, expressed as a value from 0.0 to 1.0. -- See:[UIImageJPEGRepresentation](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIKitFunctionReference/#//apple_ref/c/func/UIImageJPEGRepresentation) */ + @see [UIImageJPEGRepresentation](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIKitFunctionReference/#//apple_ref/c/func/UIImageJPEGRepresentation) */ + (void)setJPEGCompressionQuality:(CGFloat)JPEGCompressionQuality; /** @@ -161,10 +161,22 @@ FBSDK_EXTERN NSString *const FBSDKLoggingBehaviorDeveloperErrors; /** Set the flag which controls the auto logging of basic app events, such as activateApp and deactivateApp. - - Parameter AutoLogAppEventsEnabled: Flag value, expressed as a value from 0 - false or 1 - true. + @param AutoLogAppEventsEnabled Flag value, expressed as a value from 0 - false or 1 - true. */ + (void)setAutoLogAppEventsEnabled:(NSNumber *)AutoLogAppEventsEnabled; +/** + Flag which controls the fb_codeless_debug logging event + If not explicitly set, the default is 1 - true + */ ++ (NSNumber *)codelessDebugLogEnabled; + +/** + Set the flag which controls the fb_codeless_debug logging event + @param CodelessDebugLogEnabled Flag value, expressed as a value from 0 - false or 1 - true. + */ ++ (void)setCodelessDebugLogEnabled:(NSNumber *)CodelessDebugLogEnabled; + /** Gets whether data such as that generated through FBSDKAppEvents and sent to Facebook should be restricted from being used for other than analytics and conversions. Defaults to NO. This value is stored on the device and persists across app launches. */ @@ -173,7 +185,7 @@ FBSDK_EXTERN NSString *const FBSDKLoggingBehaviorDeveloperErrors; /** Sets whether data such as that generated through FBSDKAppEvents and sent to Facebook should be restricted from being used for other than analytics and conversions. Defaults to NO. This value is stored on the device and persists across app launches. - - Parameter limitEventAndDataUsage: The desired value. + @param limitEventAndDataUsage The desired value. */ + (void)setLimitEventAndDataUsage:(BOOL)limitEventAndDataUsage; @@ -191,7 +203,7 @@ FBSDK_EXTERN NSString *const FBSDKLoggingBehaviorDeveloperErrors; Set the current Facebook SDK logging behavior. This should consist of strings defined as constants with FBSDKLoggingBehavior*. - - Parameter loggingBehavior: A set of strings indicating what information should be logged. If nil is provided, the logging + @param loggingBehavior A set of strings indicating what information should be logged. If nil is provided, the logging behavior is reset to the default set of enabled behaviors. Set to an empty set in order to disable all logging. @@ -202,21 +214,21 @@ FBSDK_EXTERN NSString *const FBSDKLoggingBehaviorDeveloperErrors; /** Enable a particular Facebook SDK logging behavior. - - Parameter loggingBehavior: The LoggingBehavior to enable. This should be a string defined as a constant with FBSDKLoggingBehavior*. + @param loggingBehavior The LoggingBehavior to enable. This should be a string defined as a constant with FBSDKLoggingBehavior*. */ + (void)enableLoggingBehavior:(NSString *)loggingBehavior; /** Disable a particular Facebook SDK logging behavior. - - Parameter loggingBehavior: The LoggingBehavior to disable. This should be a string defined as a constant with FBSDKLoggingBehavior*. + @param loggingBehavior The LoggingBehavior to disable. This should be a string defined as a constant with FBSDKLoggingBehavior*. */ + (void)disableLoggingBehavior:(NSString *)loggingBehavior; /** Set the user defaults key used by legacy token caches. - - Parameter tokenInformationKeyName: the key used by legacy token caches. + @param tokenInformationKeyName the key used by legacy token caches. Use this only if you customized FBSessionTokenCachingStrategy in v3.x of diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKTestUsersManager.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKTestUsersManager.h index 3be95297e9..17a5ea538e 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKTestUsersManager.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKTestUsersManager.h @@ -50,20 +50,20 @@ typedef void (^FBSDKTestUsersManagerRemoveTestAccountHandler)(NSError *error) ; /** construct or return the shared instance - - Parameter appID: the Facebook app id - - Parameter appSecret: the Facebook app secret + @param appID the Facebook app id + @param appSecret the Facebook app secret */ + (instancetype)sharedInstanceForAppID:(NSString *)appID appSecret:(NSString *)appSecret; /** retrieve FBSDKAccessToken instances for test accounts with the specific permissions. - - Parameter arraysOfPermissions: an array of permissions sets, such as @[ [NSSet setWithObject:@"email"], [NSSet setWithObject:@"user_birthday"]] + @param arraysOfPermissions an array of permissions sets, such as @[ [NSSet setWithObject:@"email"], [NSSet setWithObject:@"user_birthday"]] if you needed two test accounts with email and birthday permissions, respectively. You can pass in empty nested sets if you need two arbitrary test accounts. For convenience, passing nil is treated as @[ [NSSet set] ] for fetching a single test user. - - Parameter createIfNotFound: if YES, new test accounts are created if no test accounts existed that fit the permissions + @param createIfNotFound if YES, new test accounts are created if no test accounts existed that fit the permissions requirement - - Parameter handler: the callback to invoke which will return an array of `FBAccessTokenData` instances or an `NSError`. + @param handler the callback to invoke which will return an array of `FBAccessTokenData` instances or an `NSError`. If param `createIfNotFound` is NO, the array may contain `[NSNull null]` instances. @@ -77,24 +77,24 @@ typedef void (^FBSDKTestUsersManagerRemoveTestAccountHandler)(NSError *error) ; /** add a test account with the specified permissions - - Parameter permissions: the set of permissions, e.g., [NSSet setWithObjects:@"email", @"user_friends"] - - Parameter handler: the callback handler + @param permissions the set of permissions, e.g., [NSSet setWithObjects:@"email", @"user_friends"] + @param handler the callback handler */ - (void)addTestAccountWithPermissions:(NSSet *)permissions completionHandler:(FBSDKTestUsersManagerRetrieveTestAccountTokensHandler)handler; /** remove a test account for the given user id - - Parameter userId: the user id - - Parameter handler: the callback handler + @param userId the user id + @param handler the callback handler */ - (void)removeTestAccount:(NSString *)userId completionHandler:(FBSDKTestUsersManagerRemoveTestAccountHandler)handler; /** Make two test users friends with each other. - - Parameter first: the token of the first user - - Parameter second: the token of the second user - - Parameter callback: the callback handler + @param first the token of the first user + @param second the token of the second user + @param callback the callback handler */ - (void)makeFriendsWithFirst:(FBSDKAccessToken *)first second:(FBSDKAccessToken *)second callback:(void (^)(NSError *))callback; diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKUtility.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKUtility.h index 1a240c8f0d..5a7fdff61e 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKUtility.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Headers/FBSDKUtility.h @@ -25,31 +25,52 @@ /** Parses a query string into a dictionary. - - Parameter queryString: The query string value. - - Returns: A dictionary with the key/value pairs. + @param queryString The query string value. + @return A dictionary with the key/value pairs. */ + (NSDictionary *)dictionaryWithQueryString:(NSString *)queryString; /** Constructs a query string from a dictionary. - - Parameter dictionary: The dictionary with key/value pairs for the query string. - - Parameter errorRef: If an error occurs, upon return contains an NSError object that describes the problem. - - Returns: Query string representation of the parameters. + @param dictionary The dictionary with key/value pairs for the query string. + @param errorRef If an error occurs, upon return contains an NSError object that describes the problem. + @return Query string representation of the parameters. */ + (NSString *)queryStringWithDictionary:(NSDictionary *)dictionary error:(NSError *__autoreleasing *)errorRef; /** Decodes a value from an URL. - - Parameter value: The value to decode. - - Returns: The decoded value. + @param value The value to decode. + @return The decoded value. */ + (NSString *)URLDecode:(NSString *)value; /** Encodes a value for an URL. - - Parameter value: The value to encode. - - Returns: The encoded value. + @param value The value to encode. + @return The encoded value. */ + (NSString *)URLEncode:(NSString *)value; +/** + Creates a timer using Grand Central Dispatch. + @param interval The interval to fire the timer, in seconds. + @param block The code block to execute when timer is fired. + @return The dispatch handle. + */ ++ (dispatch_source_t)startGCDTimerWithInterval:(double)interval block:(dispatch_block_t)block; + +/** + Stop a timer that was started by startGCDTimerWithInterval. + @param timer The dispatch handle received from startGCDTimerWithInterval. + */ ++ (void)stopGCDTimer:(dispatch_source_t)timer; + +/** + Get SHA256 hased string of NSString/NSData + + @param input The data that needs to be hashed, it could be NSString or NSData. + */ ++ (NSString *)SHA256Hash:(NSObject *)input; + @end diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Info.plist b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Info.plist index 136b76580f..74eadf2e0b 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Info.plist and b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKCoreKit.framework/Info.plist differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKLoginKit.framework/FBSDKLoginKit b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKLoginKit.framework/FBSDKLoginKit index b0ba5dea07..47d2bcecad 100755 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKLoginKit.framework/FBSDKLoginKit and b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKLoginKit.framework/FBSDKLoginKit differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginCodeInfo.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginCodeInfo.h new file mode 100644 index 0000000000..52c1de7600 --- /dev/null +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginCodeInfo.h @@ -0,0 +1,62 @@ +// Copyright (c) 2014-present, Facebook, Inc. All rights reserved. +// +// You are hereby granted a non-exclusive, worldwide, royalty-free license to use, +// copy, modify, and distribute this software in source code or binary form for use +// in connection with the web services and APIs provided by Facebook. +// +// As with any software that integrates with the Facebook platform, your use of +// this software is subject to the Facebook Developer Principles and Policies +// [http://developers.facebook.com/policy/]. This copyright notice shall be +// included in all copies or substantial portions of the software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +#import + +NS_ASSUME_NONNULL_BEGIN + +/*! + @abstract Describes the initial response when starting the device login flow. + @discussion This is used by `FBSDKDeviceLoginManager`. + */ +@interface FBSDKDeviceLoginCodeInfo : NSObject + +/*! + @abstract There is no public initializer. + */ +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/*! + @abstract the unique id for this login flow. +*/ +@property (nonatomic, copy, readonly) NSString *identifier; + +/*! + @abstract the short "user_code" that should be presented to the user. +*/ +@property (nonatomic, copy, readonly) NSString *loginCode; + +/*! + @abstract the verification URL. +*/ +@property (nonatomic, copy, readonly) NSURL *verificationURL; + +/*! + @abstract the expiration date. +*/ +@property (nonatomic, copy, readonly) NSDate *expirationDate; + +/*! + @abstract the polling interval +*/ +@property (nonatomic, assign, readonly) NSUInteger pollingInterval; + +@end + +NS_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManager.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManager.h new file mode 100644 index 0000000000..3f6f0360b2 --- /dev/null +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManager.h @@ -0,0 +1,105 @@ +// Copyright (c) 2014-present, Facebook, Inc. All rights reserved. +// +// You are hereby granted a non-exclusive, worldwide, royalty-free license to use, +// copy, modify, and distribute this software in source code or binary form for use +// in connection with the web services and APIs provided by Facebook. +// +// As with any software that integrates with the Facebook platform, your use of +// this software is subject to the Facebook Developer Principles and Policies +// [http://developers.facebook.com/policy/]. This copyright notice shall be +// included in all copies or substantial portions of the software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +#import + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +@class FBSDKDeviceLoginManager; + +/*! + @abstract A delegate for `FBSDKDeviceLoginManager`. + */ +@protocol FBSDKDeviceLoginManagerDelegate + +/*! + @abstract Indicates the device login flow has started. You should parse `codeInfo` to + present the code to the user to enter. + @param loginManager the login manager instance. + @param codeInfo the code info data. + */ +- (void)deviceLoginManager:(FBSDKDeviceLoginManager *)loginManager startedWithCodeInfo:(FBSDKDeviceLoginCodeInfo *)codeInfo; + +/*! + @abstract Indicates the device login flow has finished. + @param loginManager the login manager instance. + @param result the results of the login flow. + @param error the error, if available. + @discussion The flow can be finished if the user completed the flow, cancelled, or if the code has expired. + */ +- (void)deviceLoginManager:(FBSDKDeviceLoginManager *)loginManager + completedWithResult:(nullable FBSDKDeviceLoginManagerResult *)result + error:(nullable NSError *)error; + +@end + +/*! + @abstract Use this class to perform a device login flow. + @discussion The device login flow starts by requesting a code from the device login API. + This class informs the delegate when this code is received. You should then present the + code to the user to enter. In the meantime, this class polls the device login API + periodically and informs the delegate of the results. + + See [Facebook Device Login](https://developers.facebook.com/docs/facebook-login/for-devices). + */ +@interface FBSDKDeviceLoginManager : NSObject + +/*! + @abstract Initializes a new instance. + @param permissions permissions to request. + */ +- (instancetype)initWithPermissions:(nullable NSArray *)permissions + enableSmartLogin:(BOOL)enableSmartLogin +NS_DESIGNATED_INITIALIZER; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/*! + @abstract the delegate. + */ +@property (nonatomic, weak) id delegate; + +/*! + @abstract the requested permissions. + */ +@property (nullable, nonatomic, copy, readonly) NSArray *permissions; + +/*! + @abstract the optional URL to redirect the user to after they complete the login. + @discussion the URL must be configured in your App Settings -> Advanced -> OAuth Redirect URIs + */ +@property (nullable, nonatomic, copy) NSURL *redirectURL; + +/*! + @abstract Starts the device login flow + @discussion This instance will retain self until the flow is finished or cancelled. + */ +- (void)start; + +/*! + @abstract Attempts to cancel the device login flow. + */ +- (void)cancel; + +@end + +NS_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManagerResult.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManagerResult.h new file mode 100644 index 0000000000..ccce552328 --- /dev/null +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKLoginKit.framework/Headers/FBSDKDeviceLoginManagerResult.h @@ -0,0 +1,50 @@ +// Copyright (c) 2014-present, Facebook, Inc. All rights reserved. +// +// You are hereby granted a non-exclusive, worldwide, royalty-free license to use, +// copy, modify, and distribute this software in source code or binary form for use +// in connection with the web services and APIs provided by Facebook. +// +// As with any software that integrates with the Facebook platform, your use of +// this software is subject to the Facebook Developer Principles and Policies +// [http://developers.facebook.com/policy/]. This copyright notice shall be +// included in all copies or substantial portions of the software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/*! + @abstract Represents the results of the a device login flow. + @discussion This is used by `FBSDKDeviceLoginManager`. + */ +@interface FBSDKDeviceLoginManagerResult : NSObject + +/*! + @abstract There is no public initializer. + */ +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; + +/*! + @abstract The token. + */ +@property (nullable, nonatomic, strong, readonly) FBSDKAccessToken *accessToken; + +/*! + @abstract Indicates if the login was cancelled by the user, or if the device + login code has expired. + */ +@property (nonatomic, assign, readonly, getter=isCancelled) BOOL cancelled; + +@end + +NS_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKLoginKit.framework/Headers/FBSDKLoginButton.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKLoginKit.framework/Headers/FBSDKLoginButton.h index adc7b9b095..1b8ed2985d 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKLoginKit.framework/Headers/FBSDKLoginButton.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKLoginKit.framework/Headers/FBSDKLoginButton.h @@ -106,9 +106,9 @@ typedef NS_ENUM(NSUInteger, FBSDKLoginButtonTooltipBehavior) @required /** Sent to the delegate when the button was used to login. - - Parameter loginButton: the sender - - Parameter result: The results of the login - - Parameter error: The error (if any) from the login + @param loginButton the sender + @param result The results of the login + @param error The error (if any) from the login */ - (void)loginButton:(FBSDKLoginButton *)loginButton didCompleteWithResult:(FBSDKLoginManagerLoginResult *)result @@ -116,15 +116,15 @@ didCompleteWithResult:(FBSDKLoginManagerLoginResult *)result /** Sent to the delegate when the button was used to logout. - - Parameter loginButton: The button that was clicked. + @param loginButton The button that was clicked. */ - (void)loginButtonDidLogOut:(FBSDKLoginButton *)loginButton; @optional /** Sent to the delegate when the button is about to login. - - Parameter loginButton: the sender - - Returns: YES if the login should be allowed to proceed, NO otherwise + @param loginButton the sender + @return YES if the login should be allowed to proceed, NO otherwise */ - (BOOL) loginButtonWillLogin:(FBSDKLoginButton *)loginButton; diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h index 713d798581..dcb1930e8a 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h @@ -74,3 +74,26 @@ typedef NS_ENUM(NSInteger, FBSDKLoginErrorCode) */ FBSDKLoginBadChallengeString, }; + +/** + NS_ENUM(NSInteger, FBSDKDeviceLoginErrorCode) + Error codes for FBSDKDeviceLoginErrorDomain. + */ +typedef NS_ENUM(NSUInteger, FBSDKDeviceLoginErrorSubcode) { + /** + Your device is polling too frequently. + */ + FBSDKDeviceLoginExcessivePollingErrorSubcode = 1349172, + /** + User has declined to authorize your application. + */ + FBSDKDeviceLoginAuthorizationDeclinedErrorSubcode = 1349173, + /** + User has not yet authorized your application. Continue polling. + */ + FBSDKDeviceLoginAuthorizationPendingErrorSubcode = 1349174, + /** + The code you entered has expired. + */ + FBSDKDeviceLoginCodeExpiredErrorSubcode = 1349152 +}; diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKLoginKit.framework/Headers/FBSDKLoginKit.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKLoginKit.framework/Headers/FBSDKLoginKit.h index 4723940013..c29f13bcb0 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKLoginKit.framework/Headers/FBSDKLoginKit.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKLoginKit.framework/Headers/FBSDKLoginKit.h @@ -18,8 +18,18 @@ #import +#if !TARGET_TV_OS +#import +#import +#import #import #import #import #import #import +#else +#import +#import +#import +#import +#endif diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h index 5758325ccd..c33ffcb0e6 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h @@ -24,8 +24,8 @@ /** Describes the call back to the FBSDKLoginManager - - Parameter result: the result of the authorization - - Parameter error: the authorization error, if any. + @param result the result of the authorization + @param error the authorization error, if any. */ typedef void (^FBSDKLoginManagerRequestTokenHandler)(FBSDKLoginManagerLoginResult *result, NSError *error); @@ -110,6 +110,10 @@ typedef NS_ENUM(NSUInteger, FBSDKLoginBehavior) */ @interface FBSDKLoginManager : NSObject +/** + Auth type + */ +@property (strong, nonatomic) NSString *authType; /** the default audience. @@ -124,25 +128,25 @@ typedef NS_ENUM(NSUInteger, FBSDKLoginBehavior) /** -- Warning:use logInWithReadPermissions:fromViewController:handler: instead +@warning use logInWithReadPermissions:fromViewController:handler: instead */ - (void)logInWithReadPermissions:(NSArray *)permissions handler:(FBSDKLoginManagerRequestTokenHandler)handler __attribute__ ((deprecated("use logInWithReadPermissions:fromViewController:handler: instead"))); /** -- Warning:use logInWithPublishPermissions:fromViewController:handler: instead +@warning use logInWithPublishPermissions:fromViewController:handler: instead */ - (void)logInWithPublishPermissions:(NSArray *)permissions handler:(FBSDKLoginManagerRequestTokenHandler)handler __attribute__ ((deprecated("use logInWithPublishPermissions:fromViewController:handler: instead"))); /** Logs the user in or authorizes additional permissions. - - Parameter permissions: the optional array of permissions. Note this is converted to NSSet and is only + @param permissions the optional array of permissions. Note this is converted to NSSet and is only an NSArray for the convenience of literal syntax. - - Parameter fromViewController: the view controller to present from. If nil, the topmost view controller will be + @param fromViewController the view controller to present from. If nil, the topmost view controller will be automatically determined as best as possible. - - Parameter handler: the callback. + @param handler the callback. Use this method when asking for read permissions. You should only ask for permissions when they are needed and explain the value to the user. You can inspect the result.declinedPermissions to also @@ -160,11 +164,11 @@ __attribute__ ((deprecated("use logInWithPublishPermissions:fromViewController:h /** Logs the user in or authorizes additional permissions. - - Parameter permissions: the optional array of permissions. Note this is converted to NSSet and is only + @param permissions the optional array of permissions. Note this is converted to NSSet and is only an NSArray for the convenience of literal syntax. - - Parameter fromViewController: the view controller to present from. If nil, the topmost view controller will be + @param fromViewController the view controller to present from. If nil, the topmost view controller will be automatically determined as best as possible. - - Parameter handler: the callback. + @param handler the callback. Use this method when asking for publish permissions. You should only ask for permissions when they are needed and explain the value to the user. You can inspect the result.declinedPermissions to also @@ -192,7 +196,7 @@ __attribute__ ((deprecated("use logInWithPublishPermissions:fromViewController:h Issues an asynchronous renewCredentialsForAccount call to the device's Facebook account store. - - Parameter handler: The completion handler to call when the renewal is completed. This can be invoked on an arbitrary thread. + @param handler The completion handler to call when the renewal is completed. This can be invoked on an arbitrary thread. This can be used to explicitly renew account credentials and is provided as a convenience wrapper around diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h index 6148a07542..edd7be6e42 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h @@ -51,10 +51,10 @@ /** Initializes a new instance. - - Parameter token: the access token - - Parameter isCancelled: whether the login was cancelled by the user - - Parameter grantedPermissions: the set of granted permissions - - Parameter declinedPermissions: the set of declined permissions + @param token the access token + @param isCancelled whether the login was cancelled by the user + @param grantedPermissions the set of granted permissions + @param declinedPermissions the set of declined permissions */ - (instancetype)initWithToken:(FBSDKAccessToken *)token isCancelled:(BOOL)isCancelled diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipView.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipView.h index ad2c9d504c..179219710d 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipView.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipView.h @@ -61,8 +61,8 @@ /** Asks the delegate if the tooltip view should appear - - Parameter view: The tooltip view. - - Parameter appIsEligible: The value fetched from the server identifying if the app + @param view The tooltip view. + @param appIsEligible The value fetched from the server identifying if the app is eligible for the new login experience. @@ -74,7 +74,7 @@ Tells the delegate the tooltip view will appear, specifically after it's been added to the super view but before the fade in animation. - - Parameter view: The tooltip view. + @param view The tooltip view. */ - (void)loginTooltipViewWillAppear:(FBSDKLoginTooltipView *)view; @@ -82,7 +82,7 @@ Tells the delegate the tooltip view will not appear (i.e., was not added to the super view). - - Parameter view: The tooltip view. + @param view The tooltip view. */ - (void)loginTooltipViewWillNotAppear:(FBSDKLoginTooltipView *)view; diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h index 604c840c88..d77392cfd1 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h @@ -81,18 +81,18 @@ typedef NS_ENUM(NSUInteger, FBSDKTooltipColorStyle) /** Designated initializer. - - Parameter tagline: First part of the label, that will be highlighted with different color. Can be nil. + @param tagline First part of the label, that will be highlighted with different color. Can be nil. - - Parameter message: Main message to display. + @param message Main message to display. - - Parameter colorStyle: Color style to use for tooltip. + @param colorStyle Color style to use for tooltip. If you need to show a tooltip for login, consider using the `FBSDKLoginTooltipView` view. -- See:FBSDKLoginTooltipView + @see FBSDKLoginTooltipView */ - (instancetype)initWithTagline:(NSString *)tagline message:(NSString *)message colorStyle:(FBSDKTooltipColorStyle)colorStyle; @@ -100,7 +100,7 @@ typedef NS_ENUM(NSUInteger, FBSDKTooltipColorStyle) Show tooltip at the top or at the bottom of given view. Tooltip will be added to anchorView.window.rootViewController.view - - Parameter anchorView: view to show at, must be already added to window view hierarchy, in order to decide + @param anchorView view to show at, must be already added to window view hierarchy, in order to decide where tooltip will be shown. (If there's not enough space at the top of the anchorView in window bounds - tooltip will be shown at the bottom of it) @@ -115,11 +115,11 @@ typedef NS_ENUM(NSUInteger, FBSDKTooltipColorStyle) /** Adds tooltip to given view, with given position and arrow direction. - - Parameter view: View to be used as superview. + @param view View to be used as superview. - - Parameter arrowPosition: Point in view's cordinates, where arrow will be pointing + @param arrowPosition Point in view's cordinates, where arrow will be pointing - - Parameter arrowDirection: whenever arrow should be pointing up (message bubble is below the arrow) or + @param arrowDirection whenever arrow should be pointing up (message bubble is below the arrow) or down (message bubble is above the arrow). */ - (void)presentInView:(UIView *)view withArrowPosition:(CGPoint)arrowPosition direction:(FBSDKTooltipViewArrowDirection)arrowDirection; diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKLoginKit.framework/Info.plist b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKLoginKit.framework/Info.plist index 628ae2ff52..8c557fd44b 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKLoginKit.framework/Info.plist and b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKLoginKit.framework/Info.plist differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKPlacesKit.framework/FBSDKPlacesKit b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKPlacesKit.framework/FBSDKPlacesKit index 4f6f4024a5..66d476491e 100755 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKPlacesKit.framework/FBSDKPlacesKit and b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKPlacesKit.framework/FBSDKPlacesKit differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKPlacesKit.framework/Headers/FBSDKPlacesKitConstants.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKPlacesKit.framework/Headers/FBSDKPlacesKitConstants.h index 8c594c10d5..62b04f77ff 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKPlacesKit.framework/Headers/FBSDKPlacesKitConstants.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKPlacesKit.framework/Headers/FBSDKPlacesKitConstants.h @@ -46,13 +46,6 @@ extern NSString *const FBSDKPlacesFieldKeyCategories; */ extern NSString *const FBSDKPlacesFieldKeyCheckins; -/** - Field Key for the OpenGraphContext of the place, including friends who were at this - place, or who liked to its page. This field requires authentication with a user token. - An error will be thrown if this field is requested using a client token. - */ -extern NSString *const FBSDKPlacesFieldKeyContext; - /** Field Key for the confidence level for a current place estimate candidate. */ @@ -75,11 +68,6 @@ extern NSString *const FBSDKPlacesFieldKeyDescription; */ extern NSString *const FBSDKPlacesFieldKeyEngagement; -/** - Field Key for the number of people who like the place. - */ -extern NSString *const FBSDKPlacesFieldKeyFanCount; - /** Field Key for hour ranges for when the Place is open. Each day can have two different hours ranges. The keys in the dictionary are in the form of {day}_{number}_{status}. @@ -130,6 +118,11 @@ extern NSString *const FBSDKPlacesFieldKeyName; */ extern NSString *const FBSDKPlacesFieldKeyOverallStarRating; +/** + Field Key for the Facebook Page information. + */ +extern NSString *const FBSDKPlacesFieldKeyPage; + /** Field Key for PageParking information for the Place. */ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKPlacesKit.framework/Headers/FBSDKPlacesManager.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKPlacesKit.framework/Headers/FBSDKPlacesManager.h index 1984d38874..7e67f1d127 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKPlacesKit.framework/Headers/FBSDKPlacesManager.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKPlacesKit.framework/Headers/FBSDKPlacesManager.h @@ -73,7 +73,7 @@ typedef void (^FBSDKCurrentPlaceGraphRequestCompletion)(FBSDKGraphRequest *_Null @param fields A list of fields that you might want the request to return. See `FBSDKPlacesKitConstants.h` for the fields exposed by the SDK, and see - https://developers.intern.facebook.com/docs/places/fields" for the most up to date list. + https://developers.facebook.com/docs/places/fields" for the most up to date list. @param distance The search radius. For an unlimited radius, use 0. @@ -104,7 +104,7 @@ typedef void (^FBSDKCurrentPlaceGraphRequestCompletion)(FBSDKGraphRequest *_Null for the most up to date list. @param fields A list of fields that you might want the request to return. See - `FBSDKPlacesKitConstants.h` for the fields exposed by the SDK, and see https://developers.intern.facebook.com/docs/places/fields + `FBSDKPlacesKitConstants.h` for the fields exposed by the SDK, and see https://developers.facebook.com/docs/places/fields for the most up to date list. @param distance The search radius. For an unlimited radius, use 0. @@ -129,15 +129,39 @@ typedef void (^FBSDKCurrentPlaceGraphRequestCompletion)(FBSDKGraphRequest *_Null @param minimumConfidence The Minimum Confidence level place estimate candidates must meet. @param fields A list of fields that you might want the request to return. See - `FBSDKPlacesKitConstants.h` for the fields exposed by the SDK, and see https://developers.intern.facebook.com/docs/places/fields + `FBSDKPlacesKitConstants.h` for the fields exposed by the SDK, and see https://developers.facebook.com/docs/places/fields for the most up to date list. @param completion A `FBSDKCurrentPlaceGraphRequestCompletion` block, that contains the graph request. */ - (void)generateCurrentPlaceRequestWithMinimumConfidenceLevel:(FBSDKPlaceLocationConfidence)minimumConfidence - fields:(nullable NSArray *)fields + fields:(nullable NSArray *)fields completion:(nonnull FBSDKCurrentPlaceGraphRequestCompletion)completion; +/** + Method for generating a graph request to query for places the device is likely + located in. This method allows the user to pass in a CLLocation, as the above method + can be real-world slow at obtaining a location from device (on the order of multiple + seconds). This is still an asynchronous call, as the bluetooth scan still needs to + happen, however it is relatively fast (0.5 seconds). Note that the results of the + graph request are improved if the user has both Wi-Fi and Bluetooth enabled. + + @param currentLocation The current location of the device. If the location passed in here + isn't actually the current location, accuracy of results will be diminished. + + @param minimumConfidence The Minimum Confidence level place estimate candidates must meet. + + @param fields A list of fields that you might want the request to return. See + `FBSDKPlacesKitConstants.h` for the fields exposed by the SDK, and see https://developers.facebook.com/docs/places/fields + for the most up to date list. + + @param completion A `FBSDKCurrentPlaceGraphRequestCompletion` block, that contains the graph request. + */ +- (void)generateCurrentPlaceRequestForCurrentLocation:(nonnull CLLocation *)currentLocation + withMinimumConfidenceLevel:(FBSDKPlaceLocationConfidence)minimumConfidence + fields:(nullable NSArray *)fields + completion:(nonnull FBSDKCurrentPlaceGraphRequestCompletion)completion; + /** Method for generating a graph request to provide feedback to the Places Graph about the accuracy of current place estimate candidates. We'd very much appreciate it if @@ -163,7 +187,7 @@ typedef void (^FBSDKCurrentPlaceGraphRequestCompletion)(FBSDKGraphRequest *_Null @param placeID The ID of the place. @param fields A list of fields that you might want the request to return. See - `FBSDKPlacesKitConstants.h` for the fields exposed by the SDK, and see https://developers.intern.facebook.com/docs/places/fields + `FBSDKPlacesKitConstants.h` for the fields exposed by the SDK, and see https://developers.facebook.com/docs/places/fields for the most up to date list. @return An `FBSDKGraphRequest` for the given parameters. diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKPlacesKit.framework/Info.plist b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKPlacesKit.framework/Info.plist index 03a0157127..487c5162be 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKPlacesKit.framework/Info.plist and b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKPlacesKit.framework/Info.plist differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/FBSDKShareKit b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/FBSDKShareKit index ff79475fb9..3050170af1 100755 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/FBSDKShareKit and b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/FBSDKShareKit differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKAppGroupAddDialog.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKAppGroupAddDialog.h index 460ac28875..a0ee6341ca 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKAppGroupAddDialog.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKAppGroupAddDialog.h @@ -24,45 +24,45 @@ /** -- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. +@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. */ __attribute__ ((deprecated)) @interface FBSDKAppGroupAddDialog : NSObject /** -- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. +@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. */ + (instancetype)showWithContent:(FBSDKAppGroupContent *)content delegate:(id)delegate __attribute__ ((deprecated)); /** -- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. +@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. */ @property (nonatomic, weak) id delegate __attribute__ ((deprecated)); /** -- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. +@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. */ @property (nonatomic, copy) FBSDKAppGroupContent *content __attribute__ ((deprecated)); /** -- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. +@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. */ - (BOOL)canShow __attribute__ ((deprecated)); /** -- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. +@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. */ - (BOOL)show __attribute__ ((deprecated)); /** -- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. +@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. */ - (BOOL)validateWithError:(NSError *__autoreleasing *)errorRef __attribute__ ((deprecated)); @@ -70,26 +70,26 @@ __attribute__ ((deprecated)) /** -- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. +@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. */ __attribute__ ((deprecated)) @protocol FBSDKAppGroupAddDialogDelegate /** -- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. +@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. */ - (void)appGroupAddDialog:(FBSDKAppGroupAddDialog *)appGroupAddDialog didCompleteWithResults:(NSDictionary *)results __attribute__ ((deprecated)); /** -- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. +@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. */ - (void)appGroupAddDialog:(FBSDKAppGroupAddDialog *)appGroupAddDialog didFailWithError:(NSError *)error __attribute__ ((deprecated)); /** -- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. +@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. */ - (void)appGroupAddDialogDidCancel:(FBSDKAppGroupAddDialog *)appGroupAddDialog __attribute__ ((deprecated)); diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKAppGroupContent.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKAppGroupContent.h index e5722ef56f..abf91aa72f 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKAppGroupContent.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKAppGroupContent.h @@ -60,8 +60,8 @@ FBSDK_EXTERN NSString *NSStringFromFBSDKAppGroupPrivacy(FBSDKAppGroupPrivacy pri /** Compares the receiver to another app group content. - - Parameter content: The other content - - Returns: YES if the receiver's values are equal to the other content's values; otherwise NO + @param content The other content + @return YES if the receiver's values are equal to the other content's values; otherwise NO */ - (BOOL)isEqualToAppGroupContent:(FBSDKAppGroupContent *)content; diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKAppGroupJoinDialog.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKAppGroupJoinDialog.h index 371e5cc6f6..ecb6d046ed 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKAppGroupJoinDialog.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKAppGroupJoinDialog.h @@ -22,43 +22,43 @@ /** -- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. +@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. */ __attribute__ ((deprecated)) @interface FBSDKAppGroupJoinDialog : NSObject /** -- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. +@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. */ + (instancetype)showWithGroupID:(NSString *)groupID delegate:(id)delegate __attribute__ ((deprecated)); /** -- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. */ +@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. */ @property (nonatomic, weak) id delegate __attribute__ ((deprecated)); /** -- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. */ +@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. */ @property (nonatomic, copy) NSString *groupID __attribute__ ((deprecated)); /** -- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. +@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. */ - (BOOL)canShow __attribute__ ((deprecated)); /** -- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. +@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. */ - (BOOL)show __attribute__ ((deprecated)); /** -- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. +@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. */ - (BOOL)validateWithError:(NSError *__autoreleasing *)errorRef __attribute__ ((deprecated)); @@ -66,26 +66,26 @@ __attribute__ ((deprecated)) /** -- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. +@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. */ __attribute__ ((deprecated)) @protocol FBSDKAppGroupJoinDialogDelegate /** -- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. +@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. */ - (void)appGroupJoinDialog:(FBSDKAppGroupJoinDialog *)appGroupJoinDialog didCompleteWithResults:(NSDictionary *)results __attribute__ ((deprecated)); /** -- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. +@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. */ - (void)appGroupJoinDialog:(FBSDKAppGroupJoinDialog *)appGroupJoinDialog didFailWithError:(NSError *)error __attribute__ ((deprecated)); /** -- Warning:App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. +@warning App and game groups are being deprecated. See https://developers.facebook.com/docs/games/services/game-groups for more information. */ - (void)appGroupJoinDialogDidCancel:(FBSDKAppGroupJoinDialog *)appGroupJoinDialog __attribute__ ((deprecated)); diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKAppInviteContent.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKAppInviteContent.h index fe911420cf..b57d923d51 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKAppInviteContent.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKAppInviteContent.h @@ -19,6 +19,7 @@ #import #import +#import /** NS_ENUM(NSUInteger, FBSDKAppInviteDestination) @@ -35,7 +36,7 @@ typedef NS_ENUM(NSUInteger, FBSDKAppInviteDestination) /** A model for app invite. */ -@interface FBSDKAppInviteContent : NSObject +@interface FBSDKAppInviteContent : NSObject /** A URL to a preview image that will be displayed with the app invite @@ -55,7 +56,7 @@ typedef NS_ENUM(NSUInteger, FBSDKAppInviteDestination) /** -- Warning:Use `appInvitePreviewImageURL` instead. +@warning Use `appInvitePreviewImageURL` instead. */ @property (nonatomic, copy) NSURL *previewImageURL __attribute__ ((deprecated("use appInvitePreviewImageURL instead"))); @@ -87,8 +88,8 @@ typedef NS_ENUM(NSUInteger, FBSDKAppInviteDestination) /** Compares the receiver to another app invite content. - - Parameter content: The other content - - Returns: YES if the receiver's values are equal to the other content's values; otherwise NO + @param content The other content + @return YES if the receiver's values are equal to the other content's values; otherwise NO */ - (BOOL)isEqualToAppInviteContent:(FBSDKAppInviteContent *)content; diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKAppInviteDialog.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKAppInviteDialog.h index 9994ff92cf..c340ec8b92 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKAppInviteDialog.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKAppInviteDialog.h @@ -30,10 +30,10 @@ /** Convenience method to show a FBSDKAppInviteDialog - - Parameter viewController: A UIViewController to present the dialog from. - - Parameter content: The content for the app invite. - - Parameter delegate: The receiver's delegate. - - Warning: This method is deprecated. + @param viewController A UIViewController to present the dialog from. + @param content The content for the app invite. + @param delegate The receiver's delegate. + @warning This method is deprecated. */ + (instancetype)showFromViewController:(UIViewController *)viewController withContent:(FBSDKAppInviteContent *)content @@ -43,7 +43,7 @@ __attribute__ ((deprecated("App Invites no longer supported"))); /** - - Warning:use showFromViewController:withContent:delegate: instead + @warning use showFromViewController:withContent:delegate: instead */ + (instancetype)showWithContent:(FBSDKAppInviteContent *)content delegate:(id)delegate __attribute__ ((deprecated("use showFromViewController:withContent:delegate: instead"))); @@ -72,21 +72,21 @@ __attribute__ ((deprecated("use showFromViewController:withContent:delegate: ins required but not available. This method does not validate the content on the receiver, so this can be checked before building up the content. - - See:validateWithError: - - Returns: YES if the receiver can show the dialog, otherwise NO. + @see validateWithError: + @return YES if the receiver can show the dialog, otherwise NO. */ - (BOOL)canShow; /** Begins the app invite from the receiver. - - Returns: YES if the receiver was able to show the dialog, otherwise NO. + @return YES if the receiver was able to show the dialog, otherwise NO. */ - (BOOL)show; /** Validates the content on the receiver. - - Parameter errorRef: If an error occurs, upon return contains an NSError object that describes the problem. - - Returns: YES if the content is valid, otherwise NO. + @param errorRef If an error occurs, upon return contains an NSError object that describes the problem. + @return YES if the content is valid, otherwise NO. */ - (BOOL)validateWithError:(NSError *__autoreleasing *)errorRef; @@ -103,15 +103,15 @@ __attribute__ ((deprecated("use showFromViewController:withContent:delegate: ins /** Sent to the delegate when the app invite completes without error. - - Parameter appInviteDialog: The FBSDKAppInviteDialog that completed. - - Parameter results: The results from the dialog. This may be nil or empty. + @param appInviteDialog The FBSDKAppInviteDialog that completed. + @param results The results from the dialog. This may be nil or empty. */ - (void)appInviteDialog:(FBSDKAppInviteDialog *)appInviteDialog didCompleteWithResults:(NSDictionary *)results; /** Sent to the delegate when the app invite encounters an error. - - Parameter appInviteDialog: The FBSDKAppInviteDialog that completed. - - Parameter error: The error. + @param appInviteDialog The FBSDKAppInviteDialog that completed. + @param error The error. */ - (void)appInviteDialog:(FBSDKAppInviteDialog *)appInviteDialog didFailWithError:(NSError *)error; diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKCameraEffectArguments.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKCameraEffectArguments.h index 6f67f0a54a..6306f47fe1 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKCameraEffectArguments.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKCameraEffectArguments.h @@ -28,29 +28,29 @@ /** Sets a string argument in the container. - - Parameter string: The argument - - Parameter key: The key for the argument + @param string The argument + @param key The key for the argument */ - (void)setString:(NSString *)string forKey:(NSString *)key; /** Gets a string argument from the container. - - Parameter key: The key for the argument - - Returns: The string value or nil + @param key The key for the argument + @return The string value or nil */ - (NSString *)stringForKey:(NSString *)key; /** Sets a string array argument in the container. - - Parameter array: The array argument - - Parameter key: The key for the argument + @param array The array argument + @param key The key for the argument */ - (void)setArray:(NSArray *)array forKey:(NSString *)key; /** Gets an array argument from the container. - - Parameter key: The key for the argument - - Returns: The array argument + @param key The key for the argument + @return The array argument */ - (NSArray *)arrayForKey:(NSString *)key; diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKCameraEffectTextures.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKCameraEffectTextures.h index 37aeff37d3..9639b5094c 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKCameraEffectTextures.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKCameraEffectTextures.h @@ -28,15 +28,15 @@ /** Sets the image for a texture key. - - Parameter image: The UIImage for the texture - - Parameter name: The key for the texture + @param image The UIImage for the texture + @param key The key for the texture */ - (void)setImage:(UIImage *)image forKey:(NSString *)key; /** Gets the image for a texture key. - - Parameter name: The key for the texture - - Returns: The texture UIImage or nil + @param key The key for the texture + @return The texture UIImage or nil */ - (UIImage *)imageForKey:(NSString *)key; diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKGameRequestContent.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKGameRequestContent.h index a7428268d1..01d9480080 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKGameRequestContent.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKGameRequestContent.h @@ -19,6 +19,7 @@ #import #import +#import /** NS_ENUM(NSUInteger, FBSDKGameRequestActionType) @@ -53,7 +54,7 @@ typedef NS_ENUM(NSUInteger, FBSDKGameRequestFilter) /** A model for a game request. */ -@interface FBSDKGameRequestContent : NSObject +@interface FBSDKGameRequestContent : NSObject /** Used when defining additional context about the nature of the request. @@ -67,8 +68,8 @@ typedef NS_ENUM(NSUInteger, FBSDKGameRequestFilter) /** Compares the receiver to another game request content. - - Parameter content: The other content - - Returns: YES if the receiver's values are equal to the other content's values; otherwise NO + @param content The other content + @return YES if the receiver's values are equal to the other content's values; otherwise NO */ - (BOOL)isEqualToGameRequestContent:(FBSDKGameRequestContent *)content; @@ -121,7 +122,7 @@ typedef NS_ENUM(NSUInteger, FBSDKGameRequestFilter) /** -- Warning:Use `recipientSuggestions` instead. +@warning Use `recipientSuggestions` instead. */ @property (nonatomic, copy) NSArray *suggestions __attribute__ ((deprecated("use recipientSuggestions instead"))); @@ -132,7 +133,7 @@ typedef NS_ENUM(NSUInteger, FBSDKGameRequestFilter) /** -- Warning:Use `recipients` instead. +@warning Use `recipients` instead. */ @property (nonatomic, copy) NSArray *to __attribute__ ((deprecated("use recipients instead"))); diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKGameRequestDialog.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKGameRequestDialog.h index 0cca016459..0a48afa47b 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKGameRequestDialog.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKGameRequestDialog.h @@ -29,8 +29,8 @@ /** Convenience method to build up a game request with content and a delegate. - - Parameter content: The content for the game request. - - Parameter delegate: The receiver's delegate. + @param content The content for the game request. + @param delegate The receiver's delegate. */ + (instancetype)showWithContent:(FBSDKGameRequestContent *)content delegate:(id)delegate; @@ -56,21 +56,21 @@ required but not available. This method does not validate the content on the receiver, so this can be checked before building up the content. -- See:validateWithError: - - Returns: YES if the receiver can share, otherwise NO. + @see validateWithError: + @return YES if the receiver can share, otherwise NO. */ - (BOOL)canShow; /** Begins the game request from the receiver. - - Returns: YES if the receiver was able to show the dialog, otherwise NO. + @return YES if the receiver was able to show the dialog, otherwise NO. */ - (BOOL)show; /** Validates the content on the receiver. - - Parameter errorRef: If an error occurs, upon return contains an NSError object that describes the problem. - - Returns: YES if the content is valid, otherwise NO. + @param errorRef If an error occurs, upon return contains an NSError object that describes the problem. + @return YES if the content is valid, otherwise NO. */ - (BOOL)validateWithError:(NSError *__autoreleasing *)errorRef; @@ -87,21 +87,21 @@ /** Sent to the delegate when the game request completes without error. - - Parameter gameRequestDialog: The FBSDKGameRequestDialog that completed. - - Parameter results: The results from the dialog. This may be nil or empty. + @param gameRequestDialog The FBSDKGameRequestDialog that completed. + @param results The results from the dialog. This may be nil or empty. */ - (void)gameRequestDialog:(FBSDKGameRequestDialog *)gameRequestDialog didCompleteWithResults:(NSDictionary *)results; /** Sent to the delegate when the game request encounters an error. - - Parameter gameRequestDialog: The FBSDKGameRequestDialog that completed. - - Parameter error: The error. + @param gameRequestDialog The FBSDKGameRequestDialog that completed. + @param error The error. */ - (void)gameRequestDialog:(FBSDKGameRequestDialog *)gameRequestDialog didFailWithError:(NSError *)error; /** Sent to the delegate when the game request dialog is cancelled. - - Parameter gameRequestDialog: The FBSDKGameRequestDialog that completed. + @param gameRequestDialog The FBSDKGameRequestDialog that completed. */ - (void)gameRequestDialogDidCancel:(FBSDKGameRequestDialog *)gameRequestDialog; diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKHashtag.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKHashtag.h index 438b664d1c..552880cb3e 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKHashtag.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKHashtag.h @@ -28,7 +28,7 @@ /** Convenience method to build a new hashtag with a string identifier. Equivalent to setting the `stringRepresentation` property. - - Parameter hashtagString: The hashtag string. + @param hashtagString The hashtag string. */ + (instancetype)hashtagWithString:(NSString *)hashtagString; @@ -38,7 +38,7 @@ You are responsible for making sure that `stringRepresentation` is a valid hashtag (a single '#' followed by one or more word characters). Invalid hashtags are ignored when sharing content. You can check validity with the `valid` property. - - Returns: The hashtag string. + @return The hashtag string. */ @property (nonatomic, readwrite, copy) NSString *stringRepresentation; @@ -47,14 +47,14 @@ A valid hashtag matches the regular expression "#\w+": A single '#' followed by one or more word characters. - - Returns: YES if the hashtag is valid, NO otherwise. + @return YES if the hashtag is valid, NO otherwise. */ @property (nonatomic, readonly, assign, getter=isValid) BOOL valid; /** Compares the receiver to another hashtag. - - Parameter hashtag: The other hashtag - - Returns: YES if the receiver is equal to the other hashtag; otherwise NO + @param hashtag The other hashtag + @return YES if the receiver is equal to the other hashtag; otherwise NO */ - (BOOL)isEqualToHashtag:(FBSDKHashtag *)hashtag; diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKLikeControl.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKLikeControl.h index 6ce351de29..ea942e86d9 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKLikeControl.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKLikeControl.h @@ -103,7 +103,7 @@ __attribute__ ((deprecated)) The position for the auxiliary view for the receiver. -- See:FBSDKLikeControlAuxiliaryPosition + @see FBSDKLikeControlAuxiliaryPosition */ @property (nonatomic, assign) FBSDKLikeControlAuxiliaryPosition likeControlAuxiliaryPosition; @@ -120,7 +120,7 @@ __attribute__ ((deprecated)) The style to use for the receiver. -- See:FBSDKLikeControlStyle + @see FBSDKLikeControlStyle */ @property (nonatomic, assign) FBSDKLikeControlStyle likeControlStyle; diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKLiking.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKLiking.h index 78855be84c..57fbd22a77 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKLiking.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKLiking.h @@ -21,9 +21,9 @@ /** The common interface for components that initiate liking. -- See:FBSDKLikeButton + @see FBSDKLikeButton -- See:FBSDKLikeControl + @see FBSDKLikeControl */ @protocol FBSDKLiking diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKMessageDialog.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKMessageDialog.h index 8609880817..1604f80e8a 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKMessageDialog.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKMessageDialog.h @@ -21,14 +21,26 @@ #import /** - A dialog for sharing content through Messenger. + A dialog for sharing content through Messenger. + + SUPPORTED SHARE TYPES + - FBSDKShareLinkContent + - FBSDKShareMessengerOpenGraphMusicTemplateContent + - FBSDKShareMessengerMediaTemplateContent + - FBSDKShareMessengerGenericTemplateContent + + UNSUPPORTED SHARE TYPES (DEPRECATED AUGUST 2018) + - FBSDKShareOpenGraphContent + - FBSDKSharePhotoContent + - FBSDKShareVideoContent + - Any other types that are not one of the four supported types listed above */ @interface FBSDKMessageDialog : NSObject /** - Convenience method to show a Message Share Dialog with content and a delegate. - - Parameter content: The content to be shared. - - Parameter delegate: The receiver's delegate. + Convenience method to show a Message Share Dialog with content and a delegate. + @param content The content to be shared. + @param delegate The receiver's delegate. */ + (instancetype)showWithContent:(id)content delegate:(id)delegate; diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareAPI.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareAPI.h index bf53883b51..5886fdb58b 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareAPI.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareAPI.h @@ -35,8 +35,8 @@ /** Convenience method to build up a share API with content and a delegate. - - Parameter content: The content to be shared. - - Parameter delegate: The receiver's delegate. + @param content The content to be shared. + @param delegate The receiver's delegate. */ + (instancetype)shareWithContent:(id)content delegate:(id)delegate; @@ -66,14 +66,14 @@ required but not available. This method does not validate the content on the receiver, so this can be checked before building up the content. -- See:[FBSDKSharing validateWithError:] - - Returns: YES if the receiver can send, otherwise NO. + @see [FBSDKSharing validateWithError:] + @return YES if the receiver can send, otherwise NO. */ - (BOOL)canShare; /** Creates an User Owned Open Graph object without an action. - - Parameter openGraphObject: The open graph object to create. + @param openGraphObject The open graph object to create. Use this method to create an object alone, when an action is not going to be posted with the object. If the object will be used within an action, just put the object in the action and share that as the shareContent and the @@ -81,13 +81,13 @@ Also see https://developers.facebook.com/docs/sharing/opengraph/object-api#objectapi-creatinguser - - Returns: YES if the receiver was able to send the request to create the object, otherwise NO. + @return YES if the receiver was able to send the request to create the object, otherwise NO. */ - (BOOL)createOpenGraphObject:(FBSDKShareOpenGraphObject *)openGraphObject; /** Begins the send from the receiver. - - Returns: YES if the receiver was able to send the share, otherwise NO. + @return YES if the receiver was able to send the share, otherwise NO. */ - (BOOL)share; diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareCameraEffectContent.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareCameraEffectContent.h index 65e2f6bdc3..1309c8df6c 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareCameraEffectContent.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareCameraEffectContent.h @@ -21,11 +21,12 @@ #import #import #import +#import /** A model for content to share with a Facebook camera effect. */ -@interface FBSDKShareCameraEffectContent : NSObject +@interface FBSDKShareCameraEffectContent : NSObject /** ID of the camera effect to use. @@ -44,8 +45,8 @@ /** Compares the receiver to another camera effect content. - - Parameter content: The other content - - Returns: YES if the receiver's values are equal to the other content's values; otherwise NO + @param content The other content + @return YES if the receiver's values are equal to the other content's values; otherwise NO */ - (BOOL)isEqualToShareCameraEffectContent:(FBSDKShareCameraEffectContent *)content; diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareDialog.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareDialog.h index 849859050b..18c4d3ea2c 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareDialog.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareDialog.h @@ -29,9 +29,9 @@ /** Convenience method to show an FBSDKShareDialog with a fromViewController, content and a delegate. - - Parameter viewController: A UIViewController to present the dialog from, if appropriate. - - Parameter content: The content to be shared. - - Parameter delegate: The receiver's delegate. + @param viewController A UIViewController to present the dialog from, if appropriate. + @param content The content to be shared. + @param delegate The receiver's delegate. */ + (instancetype)showFromViewController:(UIViewController *)viewController withContent:(id)content diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareDialogMode.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareDialogMode.h index c756802dea..e7dfabcf9f 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareDialogMode.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareDialogMode.h @@ -60,6 +60,6 @@ typedef NS_ENUM(NSUInteger, FBSDKShareDialogMode) }; /** - Converts an FBLikeControlObjectType to an NSString. + Converts an FBSDKShareDialogMode to an NSString. */ FBSDK_EXTERN NSString *NSStringFromFBSDKShareDialogMode(FBSDKShareDialogMode dialogMode); diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareLinkContent.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareLinkContent.h index b4290d16c8..0a283775cc 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareLinkContent.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareLinkContent.h @@ -30,7 +30,7 @@ If not specified, this field is automatically populated by information scraped from the contentURL, typically the title of the page. This value may be discarded for specially handled links (ex: iTunes URLs). - - Returns: The description of the link + @return The description of the link @deprecated `contentDescription` is deprecated from Graph API 2.9. For more information, see https://developers.facebook.com/docs/apps/changelog#v2_9_deprecations. @@ -42,7 +42,7 @@ The title to display for this link. This value may be discarded for specially handled links (ex: iTunes URLs). - - Returns: The link title + @return The link title @deprecated `contentTitle` is deprecated from Graph API 2.9. For more information, see https://developers.facebook.com/docs/apps/changelog#v2_9_deprecations @@ -52,7 +52,7 @@ /** The URL of a picture to attach to this content. - - Returns: The network URL of an image + @return The network URL of an image @deprecated `imageURL` is deprecated from Graph API 2.9. For more information, see https://developers.facebook.com/docs/apps/changelog#v2_9_deprecations @@ -64,14 +64,14 @@ Some quote text of the link. If specified, the quote text will render with custom styling on top of the link. - - Returns: The quote text of a link + @return The quote text of a link */ @property (nonatomic, copy) NSString *quote; /** Compares the receiver to another link content. - - Parameter content: The other content - - Returns: YES if the receiver's values are equal to the other content's values; otherwise NO + @param content The other content + @return YES if the receiver's values are equal to the other content's values; otherwise NO */ - (BOOL)isEqualToShareLinkContent:(FBSDKShareLinkContent *)content; diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareMediaContent.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareMediaContent.h index 2029422ffb..ab9d895d58 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareMediaContent.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareMediaContent.h @@ -27,14 +27,14 @@ /** Media to be shared. - - Returns: Array of the media (FBSDKSharePhoto or FBSDKShareVideo) + @return Array of the media (FBSDKSharePhoto or FBSDKShareVideo) */ @property (nonatomic, copy) NSArray *media; /** Compares the receiver to another media content. - - Parameter content: The other content - - Returns: YES if the receiver's values are equal to the other content's values; otherwise NO + @param content The other content + @return YES if the receiver's values are equal to the other content's values; otherwise NO */ - (BOOL)isEqualToShareMediaContent:(FBSDKShareMediaContent *)content; diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareMessengerActionButton.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareMessengerActionButton.h index ad970f5703..8b18d07c53 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareMessengerActionButton.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareMessengerActionButton.h @@ -27,7 +27,7 @@ /** The title displayed to the user for the button. - - Returns: The title for the button. + @return The title for the button. */ @property (nonatomic, copy) NSString *title; diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareOpenGraphAction.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareOpenGraphAction.h index d30ebad5ef..83e888315f 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareOpenGraphAction.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareOpenGraphAction.h @@ -32,38 +32,38 @@ /** Convenience method to build a new action and set the object for the specified key. - - Parameter actionType: The action type of the receiver - - Parameter object: The Open Graph object represented by this action - - Parameter key: The key for the object + @param actionType The action type of the receiver + @param object The Open Graph object represented by this action + @param key The key for the object */ + (instancetype)actionWithType:(NSString *)actionType object:(FBSDKShareOpenGraphObject *)object key:(NSString *)key; /** Convenience method to build a new action and set the object for the specified key. - - Parameter actionType: The action type of the receiver - - Parameter objectID: The ID of an existing Open Graph object - - Parameter key: The key for the object + @param actionType The action type of the receiver + @param objectID The ID of an existing Open Graph object + @param key The key for the object */ + (instancetype)actionWithType:(NSString *)actionType objectID:(NSString *)objectID key:(NSString *)key; /** Convenience method to build a new action and set the object for the specified key. - - Parameter actionType: The action type of the receiver - - Parameter objectURL: The URL to a page that defines the Open Graph object with meta tags - - Parameter key: The key for the object + @param actionType The action type of the receiver + @param objectURL The URL to a page that defines the Open Graph object with meta tags + @param key The key for the object */ + (instancetype)actionWithType:(NSString *)actionType objectURL:(NSURL *)objectURL key:(NSString *)key; /** Gets the action type. - - Returns: The action type + @return The action type */ @property (nonatomic, copy) NSString *actionType; /** Compares the receiver to another Open Graph Action. - - Parameter action: The other action - - Returns: YES if the receiver's values are equal to the other action's values; otherwise NO + @param action The other action + @return YES if the receiver's values are equal to the other action's values; otherwise NO */ - (BOOL)isEqualToShareOpenGraphAction:(FBSDKShareOpenGraphAction *)action; diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareOpenGraphContent.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareOpenGraphContent.h index 43286dcfac..faed0ba440 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareOpenGraphContent.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareOpenGraphContent.h @@ -28,7 +28,7 @@ /** Open Graph Action to be shared. - - Returns: The action + @return The action */ @property (nonatomic, copy) FBSDKShareOpenGraphAction *action; @@ -36,14 +36,14 @@ Property name that points to the primary Open Graph Object in the action. The value that this action points to will be use for rendering the preview for the share. - - Returns: The property name for the Open Graph Object in the action + @return The property name for the Open Graph Object in the action */ @property (nonatomic, copy) NSString *previewPropertyName; /** Compares the receiver to another Open Graph content. - - Parameter content: The other content - - Returns: YES if the receiver's values are equal to the other content's values; otherwise NO + @param content The other content + @return YES if the receiver's values are equal to the other content's values; otherwise NO */ - (BOOL)isEqualToShareOpenGraphContent:(FBSDKShareOpenGraphContent *)content; diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareOpenGraphObject.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareOpenGraphObject.h index 22745cdcd8..ef34e2805c 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareOpenGraphObject.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareOpenGraphObject.h @@ -45,14 +45,14 @@ /** Convenience method to build a new action and set the object for the specified key. - - Parameter properties: Properties for the Open Graph object, which will be parsed into the proper models + @param properties Properties for the Open Graph object, which will be parsed into the proper models */ + (instancetype)objectWithProperties:(NSDictionary *)properties; /** Compares the receiver to another Open Graph Object. - - Parameter object: The other object - - Returns: YES if the receiver's values are equal to the other object's values; otherwise NO + @param object The other object + @return YES if the receiver's values are equal to the other object's values; otherwise NO */ - (BOOL)isEqualToShareOpenGraphObject:(FBSDKShareOpenGraphObject *)object; diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareOpenGraphValueContainer.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareOpenGraphValueContainer.h index ddef60f826..59b16994cc 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareOpenGraphValueContainer.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareOpenGraphValueContainer.h @@ -30,66 +30,66 @@ /** Gets an NSArray out of the receiver. - - Parameter key: The key for the value - - Returns: The NSArray value or nil + @param key The key for the value + @return The NSArray value or nil */ - (NSArray *)arrayForKey:(NSString *)key; /** Applies a given block object to the entries of the receiver. - - Parameter block: A block object to operate on entries in the receiver + @param block A block object to operate on entries in the receiver */ - (void)enumerateKeysAndObjectsUsingBlock:(void (^)(NSString *key, id object, BOOL *stop))block; /** Returns an enumerator object that lets you access each key in the receiver. - - Returns: An enumerator object that lets you access each key in the receiver + @return An enumerator object that lets you access each key in the receiver */ - (NSEnumerator *)keyEnumerator; /** Gets an NSNumber out of the receiver. - - Parameter key: The key for the value - - Returns: The NSNumber value or nil + @param key The key for the value + @return The NSNumber value or nil */ - (NSNumber *)numberForKey:(NSString *)key; /** Returns an enumerator object that lets you access each value in the receiver. - - Returns: An enumerator object that lets you access each value in the receiver + @return An enumerator object that lets you access each value in the receiver */ - (NSEnumerator *)objectEnumerator; /** Gets an FBSDKShareOpenGraphObject out of the receiver. - - Parameter key: The key for the value - - Returns: The FBSDKShareOpenGraphObject value or nil + @param key The key for the value + @return The FBSDKShareOpenGraphObject value or nil */ - (FBSDKShareOpenGraphObject *)objectForKey:(NSString *)key; /** Enables subscript access to the values in the receiver. - - Parameter key: The key for the value - - Returns: The value + @param key The key for the value + @return The value */ - (id)objectForKeyedSubscript:(NSString *)key; /** Parses properties out of a dictionary into the receiver. - - Parameter properties: The properties to parse. + @param properties The properties to parse. */ - (void)parseProperties:(NSDictionary *)properties; /** Gets an FBSDKSharePhoto out of the receiver. - - Parameter key: The key for the value - - Returns: The FBSDKSharePhoto value or nil + @param key The key for the value + @return The FBSDKSharePhoto value or nil */ - (FBSDKSharePhoto *)photoForKey:(NSString *)key; /** Removes a value from the receiver for the specified key. - - Parameter key: The key for the value + @param key The key for the value */ - (void)removeObjectForKey:(NSString *)key; @@ -98,57 +98,57 @@ This method will throw if the array contains any values that is not an NSNumber, NSString, NSURL, FBSDKSharePhoto or FBSDKShareOpenGraphObject. - - Parameter array: The NSArray value - - Parameter key: The key for the value + @param array The NSArray value + @param key The key for the value */ - (void)setArray:(NSArray *)array forKey:(NSString *)key; /** Sets an NSNumber on the receiver. - - Parameter number: The NSNumber value - - Parameter key: The key for the value + @param number The NSNumber value + @param key The key for the value */ - (void)setNumber:(NSNumber *)number forKey:(NSString *)key; /** Sets an FBSDKShareOpenGraphObject on the receiver. - - Parameter object: The FBSDKShareOpenGraphObject value - - Parameter key: The key for the value + @param object The FBSDKShareOpenGraphObject value + @param key The key for the value */ - (void)setObject:(FBSDKShareOpenGraphObject *)object forKey:(NSString *)key; /** Sets an FBSDKSharePhoto on the receiver. - - Parameter photo: The FBSDKSharePhoto value - - Parameter key: The key for the value + @param photo The FBSDKSharePhoto value + @param key The key for the value */ - (void)setPhoto:(FBSDKSharePhoto *)photo forKey:(NSString *)key; /** Sets an NSString on the receiver. - - Parameter string: The NSString value - - Parameter key: The key for the value + @param string The NSString value + @param key The key for the value */ - (void)setString:(NSString *)string forKey:(NSString *)key; /** Sets an NSURL on the receiver. - - Parameter URL: The NSURL value - - Parameter key: The key for the value + @param URL The NSURL value + @param key The key for the value */ - (void)setURL:(NSURL *)URL forKey:(NSString *)key; /** Gets an NSString out of the receiver. - - Parameter key: The key for the value - - Returns: The NSString value or nil + @param key The key for the value + @return The NSString value or nil */ - (NSString *)stringForKey:(NSString *)key; /** Gets an NSURL out of the receiver. - - Parameter key: The key for the value - - Returns: The NSURL value or nil + @param key The key for the value + @return The NSURL value or nil */ - (NSURL *)URLForKey:(NSString *)key; diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKSharePhoto.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKSharePhoto.h index 7926e2a918..7f8c2e4190 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKSharePhoto.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKSharePhoto.h @@ -19,24 +19,27 @@ #import #import +#import + +@class PHAsset; /** A photo for sharing. */ -@interface FBSDKSharePhoto : NSObject +@interface FBSDKSharePhoto : NSObject /** Convenience method to build a new photo object with an image. - - Parameter image: If the photo is resident in memory, this method supplies the data - - Parameter userGenerated: Specifies whether the photo represented by the receiver was generated by the user or by the + @param image If the photo is resident in memory, this method supplies the data + @param userGenerated Specifies whether the photo represented by the receiver was generated by the user or by the application */ + (instancetype)photoWithImage:(UIImage *)image userGenerated:(BOOL)userGenerated; /** Convenience method to build a new photo object with an imageURL. - - Parameter imageURL: The URL to the photo - - Parameter userGenerated: Specifies whether the photo represented by the receiver was generated by the user or by the + @param imageURL The URL to the photo + @param userGenerated Specifies whether the photo represented by the receiver was generated by the user or by the application This method should only be used when adding photo content to open graph stories. @@ -45,35 +48,49 @@ */ + (instancetype)photoWithImageURL:(NSURL *)imageURL userGenerated:(BOOL)userGenerated; +/** + Convenience method to build a new photo object with a PHAsset. + - Parameter photoAsset: The PHAsset that represents the photo in the Photos library. + - Parameter userGenerated: Specifies whether the photo represented by the receiver was generated by the user or by the + application + */ ++ (instancetype)photoWithPhotoAsset:(PHAsset *)photoAsset userGenerated:(BOOL)userGenerated; + /** If the photo is resident in memory, this method supplies the data. - - Returns: UIImage representation of the photo + @return UIImage representation of the photo */ @property (nonatomic, strong) UIImage *image; /** The URL to the photo. - - Returns: URL that points to a network location or the location of the photo on disk + @return URL that points to a network location or the location of the photo on disk */ @property (nonatomic, copy) NSURL *imageURL; +/** + The representation of the photo in the Photos library. + - Returns: PHAsset that represents the photo in the Photos library. + */ +@property (nonatomic, copy) PHAsset *photoAsset; + /** Specifies whether the photo represented by the receiver was generated by the user or by the application. - - Returns: YES if the photo is user-generated, otherwise NO + @return YES if the photo is user-generated, otherwise NO */ @property (nonatomic, assign, getter=isUserGenerated) BOOL userGenerated; /** Compares the receiver to another photo. - - Parameter photo: The other photo - - Returns: YES if the receiver's values are equal to the other photo's values; otherwise NO + @param photo The other photo + @return YES if the receiver's values are equal to the other photo's values; otherwise NO */ - (BOOL)isEqualToSharePhoto:(FBSDKSharePhoto *)photo; /** The user generated caption for the photo. Note that the 'caption' must come from * the user, as pre-filled content is forbidden by the Platform Policies (2.3). - - Returns: the Photo's caption if exists else returns null. + @return the Photo's caption if exists else returns null. */ @property (nonatomic, copy) NSString *caption; diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKSharePhotoContent.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKSharePhotoContent.h index 3043268f28..427c31572e 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKSharePhotoContent.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKSharePhotoContent.h @@ -27,14 +27,14 @@ /** Photos to be shared. - - Returns: Array of the photos (FBSDKSharePhoto) + @return Array of the photos (FBSDKSharePhoto) */ @property (nonatomic, copy) NSArray *photos; /** Compares the receiver to another photo content. - - Parameter content: The other content - - Returns: YES if the receiver's values are equal to the other content's values; otherwise NO + @param content The other content + @return YES if the receiver's values are equal to the other content's values; otherwise NO */ - (BOOL)isEqualToSharePhotoContent:(FBSDKSharePhotoContent *)content; diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareVideo.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareVideo.h index dcec319f3b..a609860fe0 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareVideo.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareVideo.h @@ -19,43 +19,83 @@ #import #import +#import @class FBSDKSharePhoto; +@class PHAsset; /** A video for sharing. */ -@interface FBSDKShareVideo : NSObject +@interface FBSDKShareVideo : NSObject + +/** + Convenience method to build a new video object from raw data. + - Parameter data: The NSData object that holds the raw video data. + */ ++ (instancetype)videoWithData:(NSData *)data; + +/** + Convenience method to build a new video object with NSData and a previewPhoto. + - Parameter data: The NSData object that holds the raw video data. + - Parameter previewPhoto: The photo that represents the video. + */ ++ (instancetype)videoWithData:(NSData *)data previewPhoto:(FBSDKSharePhoto *)previewPhoto; + +/** + Convenience method to build a new video object with a PHAsset. + @param videoAsset The PHAsset that represents the video in the Photos library. + */ ++ (instancetype)videoWithVideoAsset:(PHAsset *)videoAsset; + +/** + Convenience method to build a new video object with a PHAsset and a previewPhoto. + @param videoAsset The PHAsset that represents the video in the Photos library. + @param previewPhoto The photo that represents the video. + */ ++ (instancetype)videoWithVideoAsset:(PHAsset *)videoAsset previewPhoto:(FBSDKSharePhoto *)previewPhoto; /** Convenience method to build a new video object with a videoURL. - - Parameter videoURL: The URL to the video + @param videoURL The URL to the video. */ + (instancetype)videoWithVideoURL:(NSURL *)videoURL; /** - Convenience method to build a new video object with a videoURL and a previewPhoto - - Parameter videoURL: The URL to the video - - Parameter previewPhoto: The photo that represents the video + Convenience method to build a new video object with a videoURL and a previewPhoto. + @param videoURL The URL to the video. + @param previewPhoto The photo that represents the video. */ + (instancetype)videoWithVideoURL:(NSURL *)videoURL previewPhoto:(FBSDKSharePhoto *)previewPhoto; +/** + The raw video data. + - Returns: The video data. + */ +@property (nonatomic, strong) NSData *data; + +/** + The representation of the video in the Photos library. + @return PHAsset that represents the video in the Photos library. + */ +@property (nonatomic, copy) PHAsset *videoAsset; + /** The file URL to the video. - - Returns: URL that points to the location of the video on disk + @return URL that points to the location of the video on disk */ @property (nonatomic, copy) NSURL *videoURL; /** The photo that represents the video. - - Returns: The photo + @return The photo */ @property (nonatomic, copy) FBSDKSharePhoto *previewPhoto; /** Compares the receiver to another video. - - Parameter video: The other video - - Returns: YES if the receiver's values are equal to the other video's values; otherwise NO + @param video The other video + @return YES if the receiver's values are equal to the other video's values; otherwise NO */ - (BOOL)isEqualToShareVideo:(FBSDKShareVideo *)video; diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareVideoContent.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareVideoContent.h index 726459116c..cfbc9cbcca 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareVideoContent.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKShareVideoContent.h @@ -29,20 +29,20 @@ /** The photo that represents the video. - - Returns: The photo + @return The photo */ @property (nonatomic, copy) FBSDKSharePhoto *previewPhoto; /** The video to be shared. - - Returns: The video + @return The video */ @property (nonatomic, copy) FBSDKShareVideo *video; /** Compares the receiver to another video content. - - Parameter content: The other content - - Returns: YES if the receiver's values are equal to the other content's values; otherwise NO + @param content The other content + @return YES if the receiver's values are equal to the other content's values; otherwise NO */ - (BOOL)isEqualToShareVideoContent:(FBSDKShareVideoContent *)content; diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKSharing.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKSharing.h index 7a297ddd8f..6174b928b9 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKSharing.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKSharing.h @@ -25,11 +25,11 @@ /** The common interface for components that initiate sharing. -- See:FBSDKShareDialog + @see FBSDKShareDialog -- See:FBSDKMessageDialog + @see FBSDKMessageDialog -- See:FBSDKShareAPI + @see FBSDKShareAPI */ @protocol FBSDKSharing @@ -53,8 +53,8 @@ /** Validates the content on the receiver. - - Parameter errorRef: If an error occurs, upon return contains an NSError object that describes the problem. - - Returns: YES if the content is valid, otherwise NO. + @param errorRef If an error occurs, upon return contains an NSError object that describes the problem. + @return YES if the content is valid, otherwise NO. */ - (BOOL)validateWithError:(NSError **)errorRef; @@ -72,14 +72,14 @@ required but not available. This method does not validate the content on the receiver, so this can be checked before building up the content. -- See:[FBSDKSharing validateWithError:] - - Returns: YES if the receiver can share, otherwise NO. + @see [FBSDKSharing validateWithError:] + @return YES if the receiver can share, otherwise NO. */ - (BOOL)canShow; /** Shows the dialog. - - Returns: YES if the receiver was able to begin sharing, otherwise NO. + @return YES if the receiver was able to begin sharing, otherwise NO. */ - (BOOL)show; @@ -96,21 +96,21 @@ /** Sent to the delegate when the share completes without error or cancellation. - - Parameter sharer: The FBSDKSharing that completed. - - Parameter results: The results from the sharer. This may be nil or empty. + @param sharer The FBSDKSharing that completed. + @param results The results from the sharer. This may be nil or empty. */ - (void)sharer:(id)sharer didCompleteWithResults:(NSDictionary *)results; /** Sent to the delegate when the sharer encounters an error. - - Parameter sharer: The FBSDKSharing that completed. - - Parameter error: The error. + @param sharer The FBSDKSharing that completed. + @param error The error. */ - (void)sharer:(id)sharer didFailWithError:(NSError *)error; /** Sent to the delegate when the sharer is cancelled. - - Parameter sharer: The FBSDKSharing that completed. + @param sharer The FBSDKSharing that completed. */ - (void)sharerDidCancel:(id)sharer; diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKSharingButton.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKSharingButton.h index 5192de470f..13cfc1f503 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKSharingButton.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKSharingButton.h @@ -23,9 +23,9 @@ /** The common interface for sharing buttons. -- See:FBSDKSendButton + @see FBSDKSendButton -- See:FBSDKShareButton + @see FBSDKShareButton */ @protocol FBSDKSharingButton diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKSharingContent.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKSharingContent.h index 0e0e06d253..7806f27cd6 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKSharingContent.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKSharingContent.h @@ -19,26 +19,27 @@ #import #import +#import @class FBSDKHashtag; /** A base interface for content to be shared. */ -@protocol FBSDKSharingContent +@protocol FBSDKSharingContent /** URL for the content being shared. This URL will be checked for all link meta tags for linking in platform specific ways. See documentation for App Links (https://developers.facebook.com/docs/applinks/) - - Returns: URL representation of the content link + @return URL representation of the content link */ @property (nonatomic, copy) NSURL *contentURL; /** Hashtag for the content being shared. - - Returns: The hashtag for the content being shared. + @return The hashtag for the content being shared. */ @property (nonatomic, copy) FBSDKHashtag *hashtag; @@ -46,32 +47,39 @@ List of IDs for taggable people to tag with this content. See documentation for Taggable Friends (https://developers.facebook.com/docs/graph-api/reference/user/taggable_friends) - - Returns: Array of IDs for people to tag (NSString) + @return Array of IDs for people to tag (NSString) */ @property (nonatomic, copy) NSArray *peopleIDs; /** The ID for a place to tag with this content. - - Returns: The ID for the place to tag + @return The ID for the place to tag */ @property (nonatomic, copy) NSString *placeID; /** A value to be added to the referrer URL when a person follows a link from this shared content on feed. - - Returns: The ref for the content. + @return The ref for the content. */ @property (nonatomic, copy) NSString *ref; /** For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share. - - Returns: The ID of the Facebok page this share is associated with. + @return The ID of the Facebok page this share is associated with. */ @property (nonatomic, copy) NSString *pageID; /** A unique identifier for a share involving this content, useful for tracking purposes. - - Returns: A unique string identifying this share data. + @return A unique string identifying this share data. */ @property (nonatomic, copy, readonly) NSString *shareUUID; +/** + Adds content to a dictionary as key/value pairs. + - Parameter parameters: A mutable dictionary that may be appended with key/value pairs of content. + */ +- (void)addToParameters:(NSMutableDictionary *)parameters + bridgeOptions:(FBSDKShareBridgeOptions)bridgeOptions; + @end diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKSharingScheme.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKSharingScheme.h new file mode 100644 index 0000000000..1d81771d1b --- /dev/null +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKSharingScheme.h @@ -0,0 +1,33 @@ +// Copyright (c) 2014-present, Facebook, Inc. All rights reserved. +// +// You are hereby granted a non-exclusive, worldwide, royalty-free license to use, +// copy, modify, and distribute this software in source code or binary form for use +// in connection with the web services and APIs provided by Facebook. +// +// As with any software that integrates with the Facebook platform, your use of +// this software is subject to the Facebook Developer Principles and Policies +// [http://developers.facebook.com/policy/]. This copyright notice shall be +// included in all copies or substantial portions of the software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +#import "FBSDKShareDialogMode.h" + +/** + A base interface for indicating a custom URL scheme + */ +@protocol FBSDKSharingScheme + +/** + Asks the receiver to provide a custom scheme. + - Parameter mode: The intended dialog mode for sharing the content. + - Returns: A custom URL scheme to use for the specified mode, or nil. + */ +- (nullable NSString *)schemeForMode:(FBSDKShareDialogMode)mode; + +@end diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKSharingValidation.h b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKSharingValidation.h new file mode 100644 index 0000000000..b16454a358 --- /dev/null +++ b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Headers/FBSDKSharingValidation.h @@ -0,0 +1,46 @@ +// Copyright (c) 2014-present, Facebook, Inc. All rights reserved. +// +// You are hereby granted a non-exclusive, worldwide, royalty-free license to use, +// copy, modify, and distribute this software in source code or binary form for use +// in connection with the web services and APIs provided by Facebook. +// +// As with any software that integrates with the Facebook platform, your use of +// this software is subject to the Facebook Developer Principles and Policies +// [http://developers.facebook.com/policy/]. This copyright notice shall be +// included in all copies or substantial portions of the software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +#import + +/** + Flags to indicate support for newer bridge options beyond the initial 20130410 implementation. + */ +typedef NS_OPTIONS(NSUInteger, FBSDKShareBridgeOptions) +{ + FBSDKShareBridgeOptionsDefault = 0, + FBSDKShareBridgeOptionsPhotoAsset = 1 << 0, + FBSDKShareBridgeOptionsPhotoImageURL = 1 << 1, // if set, a web-based URL is required; asset, image, and imageURL.isFileURL not allowed + FBSDKShareBridgeOptionsVideoAsset = 1 << 2, + FBSDKShareBridgeOptionsVideoData = 1 << 3, + FBSDKShareBridgeOptionsWebHashtag = 1 << 4, // if set, pass the hashtag as a string value, not an array of one string +}; + +/** + A base interface for validation of content and media. + */ +@protocol FBSDKSharingValidation + +/** + Asks the receiver to validate that its content or media values are valid. + - Parameter errorRef: Optional, will receive an FBSDKShareError if the values are not valid. + - Returns: YES if the receiver's values are valid; otherwise NO + */ +- (BOOL)validateWithOptions:(FBSDKShareBridgeOptions)bridgeOptions error:(NSError *__autoreleasing *)errorRef; + +@end diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Info.plist b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Info.plist index a6e7c0b6ef..81b673c7bc 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Info.plist and b/iphone/Maps/3party/Carthage/Build/iOS/FBSDKShareKit.framework/Info.plist differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FacebookCore.framework/FacebookCore b/iphone/Maps/3party/Carthage/Build/iOS/FacebookCore.framework/FacebookCore index 9a5acca904..53d0ea947f 100755 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/FacebookCore.framework/FacebookCore and b/iphone/Maps/3party/Carthage/Build/iOS/FacebookCore.framework/FacebookCore differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FacebookCore.framework/Headers/FacebookCore-Swift.h b/iphone/Maps/3party/Carthage/Build/iOS/FacebookCore.framework/Headers/FacebookCore-Swift.h index 5e7a3a5ae5..73db0e7e71 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FacebookCore.framework/Headers/FacebookCore-Swift.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FacebookCore.framework/Headers/FacebookCore-Swift.h @@ -1,4 +1,4 @@ -// Generated by Apple Swift version 4.1 (swiftlang-902.0.48 clang-902.0.37.1) +// Generated by Apple Swift version 4.2 (swiftlang-1000.11.37.1 clang-1000.11.45.1) #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wgcc-compat" @@ -129,17 +129,17 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #endif #if !defined(SWIFT_ENUM_ATTR) # if defined(__has_attribute) && __has_attribute(enum_extensibility) -# define SWIFT_ENUM_ATTR __attribute__((enum_extensibility(open))) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) # else -# define SWIFT_ENUM_ATTR +# define SWIFT_ENUM_ATTR(_extensibility) # endif #endif #if !defined(SWIFT_ENUM) -# define SWIFT_ENUM(_type, _name) enum _name : _type _name; enum SWIFT_ENUM_ATTR SWIFT_ENUM_EXTRA _name : _type +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type # if __has_feature(generalized_swift_name) -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR SWIFT_ENUM_EXTRA _name : _type +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type # else -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME) SWIFT_ENUM(_type, _name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) # endif #endif #if !defined(SWIFT_UNAVAILABLE) @@ -165,8 +165,6 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #if __has_feature(modules) @import FBSDKCoreKit; @import Foundation; -@import UIKit; -@import CoreGraphics; #endif #pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" @@ -188,20 +186,6 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); -@class NSCoder; - -/// A view to display a profile picture. -SWIFT_CLASS("_TtCV12FacebookCore11UserProfile11PictureView") -@interface PictureView : UIView -/// Create a new instance of UserProfilePictureView from an encoded interface file. -/// \param decoder The coder to initialize from. -/// -- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)decoder OBJC_DESIGNATED_INITIALIZER; -- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; -@end - - - #if __has_attribute(external_source_symbol) # pragma clang attribute pop #endif diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FacebookCore.framework/Info.plist b/iphone/Maps/3party/Carthage/Build/iOS/FacebookCore.framework/Info.plist index f62fcc9345..8f98d00dd6 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/FacebookCore.framework/Info.plist and b/iphone/Maps/3party/Carthage/Build/iOS/FacebookCore.framework/Info.plist differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FacebookCore.framework/Modules/FacebookCore.swiftmodule/arm.swiftdoc b/iphone/Maps/3party/Carthage/Build/iOS/FacebookCore.framework/Modules/FacebookCore.swiftmodule/arm.swiftdoc index 42151084db..ae8d721bb4 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/FacebookCore.framework/Modules/FacebookCore.swiftmodule/arm.swiftdoc and b/iphone/Maps/3party/Carthage/Build/iOS/FacebookCore.framework/Modules/FacebookCore.swiftmodule/arm.swiftdoc differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FacebookCore.framework/Modules/FacebookCore.swiftmodule/arm.swiftmodule b/iphone/Maps/3party/Carthage/Build/iOS/FacebookCore.framework/Modules/FacebookCore.swiftmodule/arm.swiftmodule index 85431db96d..2a6a6e4f77 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/FacebookCore.framework/Modules/FacebookCore.swiftmodule/arm.swiftmodule and b/iphone/Maps/3party/Carthage/Build/iOS/FacebookCore.framework/Modules/FacebookCore.swiftmodule/arm.swiftmodule differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FacebookCore.framework/Modules/FacebookCore.swiftmodule/arm64.swiftdoc b/iphone/Maps/3party/Carthage/Build/iOS/FacebookCore.framework/Modules/FacebookCore.swiftmodule/arm64.swiftdoc index 273a612513..acd274ccab 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/FacebookCore.framework/Modules/FacebookCore.swiftmodule/arm64.swiftdoc and b/iphone/Maps/3party/Carthage/Build/iOS/FacebookCore.framework/Modules/FacebookCore.swiftmodule/arm64.swiftdoc differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FacebookCore.framework/Modules/FacebookCore.swiftmodule/arm64.swiftmodule b/iphone/Maps/3party/Carthage/Build/iOS/FacebookCore.framework/Modules/FacebookCore.swiftmodule/arm64.swiftmodule index 179cfb8e3c..9bf7825f0b 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/FacebookCore.framework/Modules/FacebookCore.swiftmodule/arm64.swiftmodule and b/iphone/Maps/3party/Carthage/Build/iOS/FacebookCore.framework/Modules/FacebookCore.swiftmodule/arm64.swiftmodule differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FacebookCore.framework/Modules/FacebookCore.swiftmodule/i386.swiftdoc b/iphone/Maps/3party/Carthage/Build/iOS/FacebookCore.framework/Modules/FacebookCore.swiftmodule/i386.swiftdoc index 4e0ff89e08..643167bdbd 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/FacebookCore.framework/Modules/FacebookCore.swiftmodule/i386.swiftdoc and b/iphone/Maps/3party/Carthage/Build/iOS/FacebookCore.framework/Modules/FacebookCore.swiftmodule/i386.swiftdoc differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FacebookCore.framework/Modules/FacebookCore.swiftmodule/i386.swiftmodule b/iphone/Maps/3party/Carthage/Build/iOS/FacebookCore.framework/Modules/FacebookCore.swiftmodule/i386.swiftmodule index 57e023dd71..ac6ee11fbc 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/FacebookCore.framework/Modules/FacebookCore.swiftmodule/i386.swiftmodule and b/iphone/Maps/3party/Carthage/Build/iOS/FacebookCore.framework/Modules/FacebookCore.swiftmodule/i386.swiftmodule differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FacebookCore.framework/Modules/FacebookCore.swiftmodule/x86_64.swiftdoc b/iphone/Maps/3party/Carthage/Build/iOS/FacebookCore.framework/Modules/FacebookCore.swiftmodule/x86_64.swiftdoc index 3b325eb8c6..d0034b4481 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/FacebookCore.framework/Modules/FacebookCore.swiftmodule/x86_64.swiftdoc and b/iphone/Maps/3party/Carthage/Build/iOS/FacebookCore.framework/Modules/FacebookCore.swiftmodule/x86_64.swiftdoc differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FacebookCore.framework/Modules/FacebookCore.swiftmodule/x86_64.swiftmodule b/iphone/Maps/3party/Carthage/Build/iOS/FacebookCore.framework/Modules/FacebookCore.swiftmodule/x86_64.swiftmodule index bc49fa930c..1178a10478 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/FacebookCore.framework/Modules/FacebookCore.swiftmodule/x86_64.swiftmodule and b/iphone/Maps/3party/Carthage/Build/iOS/FacebookCore.framework/Modules/FacebookCore.swiftmodule/x86_64.swiftmodule differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FacebookCore.framework/Modules/module.modulemap b/iphone/Maps/3party/Carthage/Build/iOS/FacebookCore.framework/Modules/module.modulemap index 9574c1ffed..13dcb7ae97 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FacebookCore.framework/Modules/module.modulemap +++ b/iphone/Maps/3party/Carthage/Build/iOS/FacebookCore.framework/Modules/module.modulemap @@ -1,4 +1,4 @@ framework module FacebookCore { - header "FacebookCore-Swift.h" - requires objc + header "FacebookCore-Swift.h" + requires objc } diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FacebookLogin.framework/FacebookLogin b/iphone/Maps/3party/Carthage/Build/iOS/FacebookLogin.framework/FacebookLogin index b5546906f9..831934f7a6 100755 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/FacebookLogin.framework/FacebookLogin and b/iphone/Maps/3party/Carthage/Build/iOS/FacebookLogin.framework/FacebookLogin differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FacebookLogin.framework/Headers/FacebookLogin-Swift.h b/iphone/Maps/3party/Carthage/Build/iOS/FacebookLogin.framework/Headers/FacebookLogin-Swift.h index 47c09a6407..853d12221a 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FacebookLogin.framework/Headers/FacebookLogin-Swift.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FacebookLogin.framework/Headers/FacebookLogin-Swift.h @@ -1,4 +1,4 @@ -// Generated by Apple Swift version 4.1 (swiftlang-902.0.48 clang-902.0.37.1) +// Generated by Apple Swift version 4.2 (swiftlang-1000.11.37.1 clang-1000.11.45.1) #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wgcc-compat" @@ -129,17 +129,17 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #endif #if !defined(SWIFT_ENUM_ATTR) # if defined(__has_attribute) && __has_attribute(enum_extensibility) -# define SWIFT_ENUM_ATTR __attribute__((enum_extensibility(open))) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) # else -# define SWIFT_ENUM_ATTR +# define SWIFT_ENUM_ATTR(_extensibility) # endif #endif #if !defined(SWIFT_ENUM) -# define SWIFT_ENUM(_type, _name) enum _name : _type _name; enum SWIFT_ENUM_ATTR SWIFT_ENUM_EXTRA _name : _type +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type # if __has_feature(generalized_swift_name) -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR SWIFT_ENUM_EXTRA _name : _type +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type # else -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME) SWIFT_ENUM(_type, _name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) # endif #endif #if !defined(SWIFT_UNAVAILABLE) @@ -163,8 +163,8 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); # define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) #endif #if __has_feature(modules) -@import UIKit; @import CoreGraphics; +@import UIKit; #endif #pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" @@ -197,6 +197,10 @@ SWIFT_CLASS("_TtC13FacebookLogin11LoginButton") /// \param decoder The coder to initialize from. /// - (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)decoder OBJC_DESIGNATED_INITIALIZER; +- (void)layoutSubviews; +- (void)sizeToFit; +- (CGSize)sizeThatFits:(CGSize)size SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, readonly) CGSize intrinsicContentSize; - (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; @end @@ -204,14 +208,6 @@ SWIFT_CLASS("_TtC13FacebookLogin11LoginButton") - -@interface LoginButton (SWIFT_EXTENSION(FacebookLogin)) -- (void)layoutSubviews; -- (void)sizeToFit; -- (CGSize)sizeThatFits:(CGSize)size SWIFT_WARN_UNUSED_RESULT; -@property (nonatomic, readonly) CGSize intrinsicContentSize; -@end - #if __has_attribute(external_source_symbol) # pragma clang attribute pop #endif diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FacebookLogin.framework/Info.plist b/iphone/Maps/3party/Carthage/Build/iOS/FacebookLogin.framework/Info.plist index 16160c852d..5eaf4038f1 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/FacebookLogin.framework/Info.plist and b/iphone/Maps/3party/Carthage/Build/iOS/FacebookLogin.framework/Info.plist differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FacebookLogin.framework/Modules/FacebookLogin.swiftmodule/arm.swiftdoc b/iphone/Maps/3party/Carthage/Build/iOS/FacebookLogin.framework/Modules/FacebookLogin.swiftmodule/arm.swiftdoc index 71db649cee..203a80d81a 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/FacebookLogin.framework/Modules/FacebookLogin.swiftmodule/arm.swiftdoc and b/iphone/Maps/3party/Carthage/Build/iOS/FacebookLogin.framework/Modules/FacebookLogin.swiftmodule/arm.swiftdoc differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FacebookLogin.framework/Modules/FacebookLogin.swiftmodule/arm.swiftmodule b/iphone/Maps/3party/Carthage/Build/iOS/FacebookLogin.framework/Modules/FacebookLogin.swiftmodule/arm.swiftmodule index 819a3984ac..3d96d8525c 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/FacebookLogin.framework/Modules/FacebookLogin.swiftmodule/arm.swiftmodule and b/iphone/Maps/3party/Carthage/Build/iOS/FacebookLogin.framework/Modules/FacebookLogin.swiftmodule/arm.swiftmodule differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FacebookLogin.framework/Modules/FacebookLogin.swiftmodule/arm64.swiftdoc b/iphone/Maps/3party/Carthage/Build/iOS/FacebookLogin.framework/Modules/FacebookLogin.swiftmodule/arm64.swiftdoc index 90422ee823..0a47dffb18 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/FacebookLogin.framework/Modules/FacebookLogin.swiftmodule/arm64.swiftdoc and b/iphone/Maps/3party/Carthage/Build/iOS/FacebookLogin.framework/Modules/FacebookLogin.swiftmodule/arm64.swiftdoc differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FacebookLogin.framework/Modules/FacebookLogin.swiftmodule/arm64.swiftmodule b/iphone/Maps/3party/Carthage/Build/iOS/FacebookLogin.framework/Modules/FacebookLogin.swiftmodule/arm64.swiftmodule index 6515f24d88..85bbe0c9cd 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/FacebookLogin.framework/Modules/FacebookLogin.swiftmodule/arm64.swiftmodule and b/iphone/Maps/3party/Carthage/Build/iOS/FacebookLogin.framework/Modules/FacebookLogin.swiftmodule/arm64.swiftmodule differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FacebookLogin.framework/Modules/FacebookLogin.swiftmodule/i386.swiftdoc b/iphone/Maps/3party/Carthage/Build/iOS/FacebookLogin.framework/Modules/FacebookLogin.swiftmodule/i386.swiftdoc index fa06c71c20..03b64c71a8 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/FacebookLogin.framework/Modules/FacebookLogin.swiftmodule/i386.swiftdoc and b/iphone/Maps/3party/Carthage/Build/iOS/FacebookLogin.framework/Modules/FacebookLogin.swiftmodule/i386.swiftdoc differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FacebookLogin.framework/Modules/FacebookLogin.swiftmodule/i386.swiftmodule b/iphone/Maps/3party/Carthage/Build/iOS/FacebookLogin.framework/Modules/FacebookLogin.swiftmodule/i386.swiftmodule index 983f130949..06f614b8ed 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/FacebookLogin.framework/Modules/FacebookLogin.swiftmodule/i386.swiftmodule and b/iphone/Maps/3party/Carthage/Build/iOS/FacebookLogin.framework/Modules/FacebookLogin.swiftmodule/i386.swiftmodule differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FacebookLogin.framework/Modules/FacebookLogin.swiftmodule/x86_64.swiftdoc b/iphone/Maps/3party/Carthage/Build/iOS/FacebookLogin.framework/Modules/FacebookLogin.swiftmodule/x86_64.swiftdoc index a08fe7568d..b69a01c80e 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/FacebookLogin.framework/Modules/FacebookLogin.swiftmodule/x86_64.swiftdoc and b/iphone/Maps/3party/Carthage/Build/iOS/FacebookLogin.framework/Modules/FacebookLogin.swiftmodule/x86_64.swiftdoc differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FacebookLogin.framework/Modules/FacebookLogin.swiftmodule/x86_64.swiftmodule b/iphone/Maps/3party/Carthage/Build/iOS/FacebookLogin.framework/Modules/FacebookLogin.swiftmodule/x86_64.swiftmodule index 656e8537b2..4e68092cd0 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/FacebookLogin.framework/Modules/FacebookLogin.swiftmodule/x86_64.swiftmodule and b/iphone/Maps/3party/Carthage/Build/iOS/FacebookLogin.framework/Modules/FacebookLogin.swiftmodule/x86_64.swiftmodule differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FacebookLogin.framework/Modules/module.modulemap b/iphone/Maps/3party/Carthage/Build/iOS/FacebookLogin.framework/Modules/module.modulemap index 413c0a33db..5600456333 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FacebookLogin.framework/Modules/module.modulemap +++ b/iphone/Maps/3party/Carthage/Build/iOS/FacebookLogin.framework/Modules/module.modulemap @@ -1,4 +1,4 @@ framework module FacebookLogin { - header "FacebookLogin-Swift.h" - requires objc + header "FacebookLogin-Swift.h" + requires objc } diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FacebookShare.framework/FacebookShare b/iphone/Maps/3party/Carthage/Build/iOS/FacebookShare.framework/FacebookShare index 548d1ba183..4e617ae3ee 100755 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/FacebookShare.framework/FacebookShare and b/iphone/Maps/3party/Carthage/Build/iOS/FacebookShare.framework/FacebookShare differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FacebookShare.framework/Headers/FacebookShare-Swift.h b/iphone/Maps/3party/Carthage/Build/iOS/FacebookShare.framework/Headers/FacebookShare-Swift.h index a258644b3c..1f11722808 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FacebookShare.framework/Headers/FacebookShare-Swift.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/FacebookShare.framework/Headers/FacebookShare-Swift.h @@ -1,4 +1,4 @@ -// Generated by Apple Swift version 4.1 (swiftlang-902.0.48 clang-902.0.37.1) +// Generated by Apple Swift version 4.2 (swiftlang-1000.11.37.1 clang-1000.11.45.1) #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wgcc-compat" @@ -129,17 +129,17 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #endif #if !defined(SWIFT_ENUM_ATTR) # if defined(__has_attribute) && __has_attribute(enum_extensibility) -# define SWIFT_ENUM_ATTR __attribute__((enum_extensibility(open))) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) # else -# define SWIFT_ENUM_ATTR +# define SWIFT_ENUM_ATTR(_extensibility) # endif #endif #if !defined(SWIFT_ENUM) -# define SWIFT_ENUM(_type, _name) enum _name : _type _name; enum SWIFT_ENUM_ATTR SWIFT_ENUM_EXTRA _name : _type +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type # if __has_feature(generalized_swift_name) -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR SWIFT_ENUM_EXTRA _name : _type +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type # else -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME) SWIFT_ENUM(_type, _name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) # endif #endif #if !defined(SWIFT_UNAVAILABLE) @@ -163,9 +163,9 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); # define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) #endif #if __has_feature(modules) -@import UIKit; @import CoreGraphics; @import Foundation; +@import UIKit; #endif #pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" @@ -190,7 +190,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); /// the object to be liked. Upon return to the calling app, the view will update with the new state. If the /// currentAccessToken has “publish_actions” permission and the object is an Open Graph object, then the like can happen /// seamlessly without the fast-app-switch. -SWIFT_CLASS("_TtC13FacebookShare10LikeButton") +SWIFT_CLASS("_TtC13FacebookShare10LikeButton") SWIFT_DEPRECATED_MSG("FBSDKLikeButton is deprecated") @interface LikeButton : UIView /// Create a new LikeButton from an encoded interface file. /// \param aDecoder The coder to initialize from. @@ -219,19 +219,12 @@ SWIFT_CLASS("_TtC13FacebookShare10LikeButton") /// UI control to like an object in the Facebook graph. /// Taps on the like button within this control will invoke an API call to the Facebook app through a fast-app-switch /// that allows the user to like the object. Upon return to the calling app, the view will update with the new state. -SWIFT_CLASS("_TtC13FacebookShare11LikeControl") +SWIFT_CLASS("_TtC13FacebookShare11LikeControl") SWIFT_DEPRECATED_MSG("FBSDKLikeControl is deprecated") @interface LikeControl : UIView /// Create a new LikeControl from an encoded interface file. /// \param coder The coder to initialize from. /// - (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER; -- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; -@end - - - - -@interface LikeControl (SWIFT_EXTENSION(FacebookShare)) /// Performs logic for laying out subviews. - (void)layoutSubviews; /// Resizes and moves the receiver view so it just encloses its subviews. @@ -248,10 +241,13 @@ SWIFT_CLASS("_TtC13FacebookShare11LikeControl") /// returns: /// A size indicating the natural size for the receiving view based on its intrinsic properties. @property (nonatomic, readonly) CGSize intrinsicContentSize; +- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; @end + + #if __has_attribute(external_source_symbol) # pragma clang attribute pop #endif diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FacebookShare.framework/Info.plist b/iphone/Maps/3party/Carthage/Build/iOS/FacebookShare.framework/Info.plist index a0a207eb37..609085a363 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/FacebookShare.framework/Info.plist and b/iphone/Maps/3party/Carthage/Build/iOS/FacebookShare.framework/Info.plist differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FacebookShare.framework/Modules/FacebookShare.swiftmodule/arm.swiftdoc b/iphone/Maps/3party/Carthage/Build/iOS/FacebookShare.framework/Modules/FacebookShare.swiftmodule/arm.swiftdoc index b68b06907a..3e8055669e 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/FacebookShare.framework/Modules/FacebookShare.swiftmodule/arm.swiftdoc and b/iphone/Maps/3party/Carthage/Build/iOS/FacebookShare.framework/Modules/FacebookShare.swiftmodule/arm.swiftdoc differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FacebookShare.framework/Modules/FacebookShare.swiftmodule/arm.swiftmodule b/iphone/Maps/3party/Carthage/Build/iOS/FacebookShare.framework/Modules/FacebookShare.swiftmodule/arm.swiftmodule index 0c4ea1ef45..f806684676 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/FacebookShare.framework/Modules/FacebookShare.swiftmodule/arm.swiftmodule and b/iphone/Maps/3party/Carthage/Build/iOS/FacebookShare.framework/Modules/FacebookShare.swiftmodule/arm.swiftmodule differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FacebookShare.framework/Modules/FacebookShare.swiftmodule/arm64.swiftdoc b/iphone/Maps/3party/Carthage/Build/iOS/FacebookShare.framework/Modules/FacebookShare.swiftmodule/arm64.swiftdoc index 81276a1049..616c04afc5 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/FacebookShare.framework/Modules/FacebookShare.swiftmodule/arm64.swiftdoc and b/iphone/Maps/3party/Carthage/Build/iOS/FacebookShare.framework/Modules/FacebookShare.swiftmodule/arm64.swiftdoc differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FacebookShare.framework/Modules/FacebookShare.swiftmodule/arm64.swiftmodule b/iphone/Maps/3party/Carthage/Build/iOS/FacebookShare.framework/Modules/FacebookShare.swiftmodule/arm64.swiftmodule index 8b59aa7f7e..a6a61c94c7 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/FacebookShare.framework/Modules/FacebookShare.swiftmodule/arm64.swiftmodule and b/iphone/Maps/3party/Carthage/Build/iOS/FacebookShare.framework/Modules/FacebookShare.swiftmodule/arm64.swiftmodule differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FacebookShare.framework/Modules/FacebookShare.swiftmodule/i386.swiftdoc b/iphone/Maps/3party/Carthage/Build/iOS/FacebookShare.framework/Modules/FacebookShare.swiftmodule/i386.swiftdoc index a59425b904..46ade64ccf 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/FacebookShare.framework/Modules/FacebookShare.swiftmodule/i386.swiftdoc and b/iphone/Maps/3party/Carthage/Build/iOS/FacebookShare.framework/Modules/FacebookShare.swiftmodule/i386.swiftdoc differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FacebookShare.framework/Modules/FacebookShare.swiftmodule/i386.swiftmodule b/iphone/Maps/3party/Carthage/Build/iOS/FacebookShare.framework/Modules/FacebookShare.swiftmodule/i386.swiftmodule index 72157d161a..60d948c9fd 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/FacebookShare.framework/Modules/FacebookShare.swiftmodule/i386.swiftmodule and b/iphone/Maps/3party/Carthage/Build/iOS/FacebookShare.framework/Modules/FacebookShare.swiftmodule/i386.swiftmodule differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FacebookShare.framework/Modules/FacebookShare.swiftmodule/x86_64.swiftdoc b/iphone/Maps/3party/Carthage/Build/iOS/FacebookShare.framework/Modules/FacebookShare.swiftmodule/x86_64.swiftdoc index f5dbceb6f2..b939610209 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/FacebookShare.framework/Modules/FacebookShare.swiftmodule/x86_64.swiftdoc and b/iphone/Maps/3party/Carthage/Build/iOS/FacebookShare.framework/Modules/FacebookShare.swiftmodule/x86_64.swiftdoc differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FacebookShare.framework/Modules/FacebookShare.swiftmodule/x86_64.swiftmodule b/iphone/Maps/3party/Carthage/Build/iOS/FacebookShare.framework/Modules/FacebookShare.swiftmodule/x86_64.swiftmodule index 22bd21a7db..78deec57f3 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/FacebookShare.framework/Modules/FacebookShare.swiftmodule/x86_64.swiftmodule and b/iphone/Maps/3party/Carthage/Build/iOS/FacebookShare.framework/Modules/FacebookShare.swiftmodule/x86_64.swiftmodule differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/FacebookShare.framework/Modules/module.modulemap b/iphone/Maps/3party/Carthage/Build/iOS/FacebookShare.framework/Modules/module.modulemap index 5e68fa8fee..173526b67a 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/FacebookShare.framework/Modules/module.modulemap +++ b/iphone/Maps/3party/Carthage/Build/iOS/FacebookShare.framework/Modules/module.modulemap @@ -1,4 +1,4 @@ framework module FacebookShare { - header "FacebookShare-Swift.h" - requires objc + header "FacebookShare-Swift.h" + requires objc } diff --git a/iphone/Maps/3party/Carthage/Build/iOS/Pushwoosh.framework/Headers/PWAppDelegate.h b/iphone/Maps/3party/Carthage/Build/iOS/Pushwoosh.framework/Headers/PWAppDelegate.h new file mode 100644 index 0000000000..82c86a1990 --- /dev/null +++ b/iphone/Maps/3party/Carthage/Build/iOS/Pushwoosh.framework/Headers/PWAppDelegate.h @@ -0,0 +1,16 @@ +// +// PWAppDelegate.h +// Pushwoosh SDK +// (c) Pushwoosh 2018 +// + +#import + +/* + Base AppDelegate class for easier integration. + */ +@interface PWAppDelegate : UIResponder + +@property (nonatomic, strong) UIWindow *window; + +@end diff --git a/iphone/Maps/3party/Carthage/Build/iOS/Pushwoosh.framework/Headers/PWGDPRManager.h b/iphone/Maps/3party/Carthage/Build/iOS/Pushwoosh.framework/Headers/PWGDPRManager.h new file mode 100644 index 0000000000..c9210b24d7 --- /dev/null +++ b/iphone/Maps/3party/Carthage/Build/iOS/Pushwoosh.framework/Headers/PWGDPRManager.h @@ -0,0 +1,42 @@ +// +// PWGDPRManager.h +// Pushwoosh SDK +// (c) Pushwoosh 2018 +// + +#import + +/* + `PWGDPRManager` class offers access to the singleton-instance of the manager responsible for channels management required by GDPR. + */ + +FOUNDATION_EXPORT NSString * const PWGDPRStatusDidChangeNotification; + +@interface PWGDPRManager : NSObject + +/** +Indicates availability of the GDPR compliance solution. +*/ +@property (nonatomic, readonly, getter=isAvailable) BOOL available; + +@property (nonatomic, readonly, getter=isCommunicationEnabled) BOOL communicationEnabled; + +@property (nonatomic, readonly, getter=isDeviceDataRemoved) BOOL deviceDataRemoved; + ++ (instancetype)sharedManager; + +/** + Enable/disable all communication with Pushwoosh. Enabled by default. + */ +- (void)setCommunicationEnabled:(BOOL)enabled completion:(void (^)(NSError *error))completion; + +/** + Removes all device data from Pushwoosh and stops all interactions and communication permanently. + */ +- (void)removeAllDeviceDataWithCompletion:(void (^)(NSError *error))completion; + +- (void)showGDPRConsentUI; + +- (void)showGDPRDeletionUI; + +@end diff --git a/iphone/Maps/3party/Carthage/Build/iOS/Pushwoosh.framework/Headers/PWInAppManager.h b/iphone/Maps/3party/Carthage/Build/iOS/Pushwoosh.framework/Headers/PWInAppManager.h index 292f7aa1f1..dfaf01c2f2 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/Pushwoosh.framework/Headers/PWInAppManager.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/Pushwoosh.framework/Headers/PWInAppManager.h @@ -79,13 +79,20 @@ #endif + /* - `PWInAppManager` class offers access to the singletone-instance of the inapp messages manager responsible for sending events and managing inapp message notifications. + `PWInAppManager` class offers access to the singleton-instance of the inapp messages manager responsible for sending events and managing inapp message notifications. */ @interface PWInAppManager : NSObject + + (instancetype)sharedManager; +/** + Resets capping of the Pushwoosh out-of-the-box In-App solutions. + */ +- (void)resetBusinessCasesFrequencyCapping; + /** Set User indentifier. This could be Facebook ID, username or email, or any other user ID. This allows data and events to be matched across multiple user devices. diff --git a/iphone/Maps/3party/Carthage/Build/iOS/Pushwoosh.framework/Headers/PWInbox.h b/iphone/Maps/3party/Carthage/Build/iOS/Pushwoosh.framework/Headers/PWInbox.h index 5287181df9..8cc23f37aa 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/Pushwoosh.framework/Headers/PWInbox.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/Pushwoosh.framework/Headers/PWInbox.h @@ -1,9 +1,7 @@ // // PWInbox.h -// Pushwoosh -// -// Created by Pushwoosh on 18/10/2017. -// Copyright © 2017 Pushwoosh. All rights reserved. +// Pushwoosh SDK +// (c) Pushwoosh 2017 // #import diff --git a/iphone/Maps/3party/Carthage/Build/iOS/Pushwoosh.framework/Headers/PWRichMediaManager.h b/iphone/Maps/3party/Carthage/Build/iOS/Pushwoosh.framework/Headers/PWRichMediaManager.h new file mode 100644 index 0000000000..18e3290466 --- /dev/null +++ b/iphone/Maps/3party/Carthage/Build/iOS/Pushwoosh.framework/Headers/PWRichMediaManager.h @@ -0,0 +1,98 @@ +// +// PWRichMediaManager.h +// Pushwoosh SDK +// (c) Pushwoosh 2018 +// + +#import + +typedef NS_ENUM(NSUInteger, PWRichMediaSource) { + /** + RichMedia is presented from push notification. + */ + PWRichMediaSourcePush, + + /** + RichMedia is presented from In-App. + */ + PWRichMediaSourceInApp +}; + + +/* + `PWRichMedia` class represents Rich Media page object. + */ +@interface PWRichMedia: NSObject + +/** + Rich Media presenter type. + */ +@property (nonatomic, readonly) PWRichMediaSource source; + +/** + Content of the Rich Media. For PWRichMediaSourceInApp it's equal to In-App code, for PWRichMediaSourcePush it's equal to Rich Media code. + */ +@property (nonatomic, readonly) NSString *content; + +/** + Checks if PWRichMediaSourceInApp is a required In-App. Always returns YES for PWRichMediaSourcePush. + */ +@property (nonatomic, readonly, getter=isRequired) BOOL required; + +@end + + +@class PWRichMediaManager; + +/** + Interface for Rich Media presentation managing. + */ +@protocol PWRichMediaPresentingDelegate + +@optional + +/** + Checks the delegate whether the Rich Media should be displayed. + */ +- (BOOL)richMediaManager:(PWRichMediaManager *)richMediaManager shouldPresentRichMedia:(PWRichMedia *)richMedia; + +/** + Tells the delegate that Rich Media has been displayed. + */ +- (void)richMediaManager:(PWRichMediaManager *)richMediaManager didPresentRichMedia:(PWRichMedia *)richMedia; + +/** + Tells the delegate that Rich Media has been closed. + */ +- (void)richMediaManager:(PWRichMediaManager *)richMediaManager didCloseRichMedia:(PWRichMedia *)richMedia; + +/** + Tells the delegate that error during Rich Media presenting has been occured. + */ +- (void)richMediaManager:(PWRichMediaManager *)richMediaManager presentingDidFailForRichMedia:(PWRichMedia *)richMedia withError:(NSError *)error; + +@end + + +/* + `PWRichMediaManager` class offers access to the singleton-instance of the manager responsible for Rich Media presentation. + */ +@interface PWRichMediaManager : NSObject + +/** + Delegate for Rich Media presentation managing. + */ +@property (nonatomic) id delegate; + +/** + A singleton object that represents the rich media manager. + */ ++ (instancetype)sharedManager; + +/** + Presents the rich media object. + */ +- (void)presentRichMedia:(PWRichMedia *)richMedia; + +@end + diff --git a/iphone/Maps/3party/Carthage/Build/iOS/Pushwoosh.framework/Headers/PushNotificationManager.h b/iphone/Maps/3party/Carthage/Build/iOS/Pushwoosh.framework/Headers/PushNotificationManager.h index b99e7009ff..8874332c1e 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/Pushwoosh.framework/Headers/PushNotificationManager.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/Pushwoosh.framework/Headers/PushNotificationManager.h @@ -12,7 +12,7 @@ #import #endif -#define PUSHWOOSH_VERSION @"5.5.4" +#define PUSHWOOSH_VERSION @"5.9.0" @class PushNotificationManager; @@ -122,14 +122,28 @@ typedef void (^PushwooshErrorHandler)(NSError *error); @param code In-App code */ -- (void)onInAppClosed:(NSString *)code; +- (void)onInAppClosed:(NSString *)code __attribute__((deprecated("Use PWRichMediaPresentingDelegate protocol from PWRichMediaManager.h"))); /** Tells the delegate that In-App with specified code has been displayed @param code In-App code */ -- (void)onInAppDisplayed:(NSString *)code; +- (void)onInAppDisplayed:(NSString *)code __attribute__((deprecated("Use PWRichMediaPresentingDelegate protocol from PWRichMediaManager.h"))); + + +#if TARGET_OS_IPHONE +/** + The method will be called on the delegate when the application is launched in response to the user's request to view in-app notification settings. + Add UNAuthorizationOptionProvidesAppNotificationSettings as an option in [PushNotificationManager pushManager].additionalAuthorizationOptions to add a button to inline notification settings view and the notification settings view in Settings. + The notification will be nil when opened from Settings. + + @param pushManager PushNotificationManager instance + @param notification Source notification + */ +- (void)pushManager:(PushNotificationManager *)pushManager openSettingsForNotification:(UNNotification *)notification __IOS_AVAILABLE(12.0); + +#endif @end @@ -160,7 +174,7 @@ typedef void (^PushwooshErrorHandler)(NSError *error); @end /** - `PushNotificationManager` class offers access to the singletone-instance of the push manager responsible for registering the device with the APS servers, receiving and processing push notifications. + `PushNotificationManager` class offers access to the singleton-instance of the push manager responsible for registering the device with the APS servers, receiving and processing push notifications. */ @interface PushNotificationManager : NSObject { } @@ -188,6 +202,11 @@ typedef void (^PushwooshErrorHandler)(NSError *error); */ @property (nonatomic, assign) BOOL showPushnotificationAlert; +/** + Authorization options in addition to UNAuthorizationOptionBadge | UNAuthorizationOptionSound | UNAuthorizationOptionAlert | UNAuthorizationOptionCarPlay. + */ +@property (nonatomic) UNAuthorizationOptions additionalAuthorizationOptions __IOS_AVAILABLE(12.0); + #endif /** @@ -372,7 +391,7 @@ typedef void (^PushwooshErrorHandler)(NSError *error); - (void)handlePushRegistrationFailure:(NSError *)error; -//if the push is received while the app is running. +//If the push is received while the app is running. Call it only for iOS version < 10. For iOS 10 and higher use notificationCenterDelegate. - (BOOL)handlePushReceived:(NSDictionary *)userInfo; /** diff --git a/iphone/Maps/3party/Carthage/Build/iOS/Pushwoosh.framework/Headers/Pushwoosh.h b/iphone/Maps/3party/Carthage/Build/iOS/Pushwoosh.framework/Headers/Pushwoosh.h index 30364db08b..88d10edd58 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/Pushwoosh.framework/Headers/Pushwoosh.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/Pushwoosh.framework/Headers/Pushwoosh.h @@ -7,6 +7,7 @@ #import "PushNotificationManager.h" #import "PWInAppManager.h" #import "PWLog.h" +#import "PWGDPRManager.h" #if TARGET_OS_IPHONE #import "PWInbox.h" diff --git a/iphone/Maps/3party/Carthage/Build/iOS/Pushwoosh.framework/Info.plist b/iphone/Maps/3party/Carthage/Build/iOS/Pushwoosh.framework/Info.plist index 4284a57789..74f4810565 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/Pushwoosh.framework/Info.plist and b/iphone/Maps/3party/Carthage/Build/iOS/Pushwoosh.framework/Info.plist differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/Pushwoosh.framework/Pushwoosh b/iphone/Maps/3party/Carthage/Build/iOS/Pushwoosh.framework/Pushwoosh index 4bc078cb4e..8f3e816044 100755 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/Pushwoosh.framework/Pushwoosh and b/iphone/Maps/3party/Carthage/Build/iOS/Pushwoosh.framework/Pushwoosh differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Bolts b/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Bolts new file mode 100644 index 0000000000..fc0d4f2c4a Binary files /dev/null and b/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Bolts differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Headers/BFAppLink.h b/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Headers/BFAppLink.h new file mode 100644 index 0000000000..aa89efc2b9 --- /dev/null +++ b/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Headers/BFAppLink.h @@ -0,0 +1,49 @@ +/* + * Copyright (c) 2014, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + +#import + +/*! The version of the App Link protocol that this library supports */ +FOUNDATION_EXPORT NSString *const BFAppLinkVersion; + +/*! + Contains App Link metadata relevant for navigation on this device + derived from the HTML at a given URL. + */ +@interface BFAppLink : NSObject + +/*! + Creates a BFAppLink with the given list of BFAppLinkTargets and target URL. + + Generally, this will only be used by implementers of the BFAppLinkResolving protocol, + as these implementers will produce App Link metadata for a given URL. + + @param sourceURL the URL from which this App Link is derived + @param targets an ordered list of BFAppLinkTargets for this platform derived + from App Link metadata. + @param webURL the fallback web URL, if any, for the app link. + */ ++ (instancetype)appLinkWithSourceURL:(NSURL *)sourceURL + targets:(NSArray *)targets + webURL:(NSURL *)webURL; + +/*! The URL from which this BFAppLink was derived */ +@property (nonatomic, strong, readonly) NSURL *sourceURL; + +/*! + The ordered list of targets applicable to this platform that will be used + for navigation. + */ +@property (nonatomic, copy, readonly) NSArray *targets; + +/*! The fallback web URL to use if no targets are installed on this device. */ +@property (nonatomic, strong, readonly) NSURL *webURL; + +@end diff --git a/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Headers/BFAppLinkNavigation.h b/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Headers/BFAppLinkNavigation.h new file mode 100644 index 0000000000..4b8a71e02f --- /dev/null +++ b/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Headers/BFAppLinkNavigation.h @@ -0,0 +1,114 @@ +/* + * Copyright (c) 2014, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + +#import + +#import + +/*! + The result of calling navigate on a BFAppLinkNavigation + */ +typedef NS_ENUM(NSInteger, BFAppLinkNavigationType) { + /*! Indicates that the navigation failed and no app was opened */ + BFAppLinkNavigationTypeFailure, + /*! Indicates that the navigation succeeded by opening the URL in the browser */ + BFAppLinkNavigationTypeBrowser, + /*! Indicates that the navigation succeeded by opening the URL in an app on the device */ + BFAppLinkNavigationTypeApp +}; + +@protocol BFAppLinkResolving; +@class BFTask; + +/*! + Represents a pending request to navigate to an App Link. Most developers will + simply use navigateToURLInBackground: to open a URL, but developers can build + custom requests with additional navigation and app data attached to them by + creating BFAppLinkNavigations themselves. + */ +NS_EXTENSION_UNAVAILABLE_IOS("Not available in app extension") +@interface BFAppLinkNavigation : NSObject + +/*! + The extras for the AppLinkNavigation. This will generally contain application-specific + data that should be passed along with the request, such as advertiser or affiliate IDs or + other such metadata relevant on this device. + */ +@property (nonatomic, copy, readonly) NSDictionary *extras; + +/*! + The al_applink_data for the AppLinkNavigation. This will generally contain data common to + navigation attempts such as back-links, user agents, and other information that may be used + in routing and handling an App Link request. + */ +@property (nonatomic, copy, readonly) NSDictionary *appLinkData; + +/*! The AppLink to navigate to */ +@property (nonatomic, strong, readonly) BFAppLink *appLink; + +/*! Creates an AppLinkNavigation with the given link, extras, and App Link data */ ++ (instancetype)navigationWithAppLink:(BFAppLink *)appLink + extras:(NSDictionary *)extras + appLinkData:(NSDictionary *)appLinkData; + +/*! + Creates an NSDictionary with the correct format for iOS callback URLs, + to be used as 'appLinkData' argument in the call to navigationWithAppLink:extras:appLinkData: + */ ++ (NSDictionary *)callbackAppLinkDataForAppWithName:(NSString *)appName url:(NSString *)url; + +/*! Performs the navigation */ +- (BFAppLinkNavigationType)navigate:(NSError **)error; + +/*! Returns a BFAppLink for the given URL */ ++ (BFTask *)resolveAppLinkInBackground:(NSURL *)destination; + +/*! Returns a BFAppLink for the given URL using the given App Link resolution strategy */ ++ (BFTask *)resolveAppLinkInBackground:(NSURL *)destination resolver:(id)resolver; + +/*! Navigates to a BFAppLink and returns whether it opened in-app or in-browser */ ++ (BFAppLinkNavigationType)navigateToAppLink:(BFAppLink *)link error:(NSError **)error; + +/*! + Returns a BFAppLinkNavigationType based on a BFAppLink. + It's essentially a no-side-effect version of navigateToAppLink:error:, + allowing apps to determine flow based on the link type (e.g. open an + internal web view instead of going straight to the browser for regular links.) + */ ++ (BFAppLinkNavigationType)navigationTypeForLink:(BFAppLink *)link; + +/*! + Return navigation type for current instance. + No-side-effect version of navigate: + */ +- (BFAppLinkNavigationType)navigationType; + +/*! Navigates to a URL (an asynchronous action) and returns a BFNavigationType */ ++ (BFTask *)navigateToURLInBackground:(NSURL *)destination; + +/*! + Navigates to a URL (an asynchronous action) using the given App Link resolution + strategy and returns a BFNavigationType + */ ++ (BFTask *)navigateToURLInBackground:(NSURL *)destination resolver:(id)resolver; + +/*! + Gets the default resolver to be used for App Link resolution. If the developer has not set one explicitly, + a basic, built-in resolver will be used. + */ ++ (id)defaultResolver; + +/*! + Sets the default resolver to be used for App Link resolution. Setting this to nil will revert the + default resolver to the basic, built-in resolver provided by Bolts. + */ ++ (void)setDefaultResolver:(id)resolver; + +@end diff --git a/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Headers/BFAppLinkResolving.h b/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Headers/BFAppLinkResolving.h new file mode 100644 index 0000000000..5c78bff458 --- /dev/null +++ b/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Headers/BFAppLinkResolving.h @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2014, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + +#import + +@class BFTask; + +/*! + Implement this protocol to provide an alternate strategy for resolving + App Links that may include pre-fetching, caching, or querying for App Link + data from an index provided by a service provider. + */ +@protocol BFAppLinkResolving + +/*! + Asynchronously resolves App Link data for a given URL. + + @param url The URL to resolve into an App Link. + @returns A BFTask that will return a BFAppLink for the given URL. + */ +- (BFTask *)appLinkFromURLInBackground:(NSURL *)url NS_EXTENSION_UNAVAILABLE_IOS("Not available in app extension"); + +@end diff --git a/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Headers/BFAppLinkReturnToRefererController.h b/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Headers/BFAppLinkReturnToRefererController.h new file mode 100644 index 0000000000..436c528068 --- /dev/null +++ b/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Headers/BFAppLinkReturnToRefererController.h @@ -0,0 +1,88 @@ +/* + * Copyright (c) 2014, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + +#import +#import + +#import + +@class BFAppLink; +@class BFAppLinkReturnToRefererController; + +/*! + Protocol that a class can implement in order to be notified when the user has navigated back + to the referer of an App Link. + */ +@protocol BFAppLinkReturnToRefererControllerDelegate + +@optional + +/*! Called when the user has tapped to navigate, but before the navigation has been performed. */ +- (void)returnToRefererController:(BFAppLinkReturnToRefererController *)controller + willNavigateToAppLink:(BFAppLink *)appLink; + +/*! Called after the navigation has been attempted, with an indication of whether the referer + app link was successfully opened. */ +- (void)returnToRefererController:(BFAppLinkReturnToRefererController *)controller + didNavigateToAppLink:(BFAppLink *)url + type:(BFAppLinkNavigationType)type; + +@end + +/*! + A controller class that implements default behavior for a BFAppLinkReturnToRefererView, including + the ability to display the view above the navigation bar for navigation-based apps. + */ +NS_EXTENSION_UNAVAILABLE_IOS("Not available in app extension") +@interface BFAppLinkReturnToRefererController : NSObject + +/*! + The delegate that will be notified when the user navigates back to the referer. + */ +@property (nonatomic, weak) id delegate; + +/*! + The BFAppLinkReturnToRefererView this controller is controlling. + */ +@property (nonatomic, strong) BFAppLinkReturnToRefererView *view; + +/*! + Initializes a controller suitable for controlling a BFAppLinkReturnToRefererView that is to be displayed + contained within another UIView (i.e., not displayed above the navigation bar). + */ +- (instancetype)init; + +/*! + Initializes a controller suitable for controlling a BFAppLinkReturnToRefererView that is to be displayed + displayed above the navigation bar. + */ +- (instancetype)initForDisplayAboveNavController:(UINavigationController *)navController; + +/*! + Removes the view entirely from the navigation controller it is currently displayed in. + */ +- (void)removeFromNavController; + +/*! + Shows the BFAppLinkReturnToRefererView with the specified referer information. If nil or missing data, + the view will not be displayed. */ +- (void)showViewForRefererAppLink:(BFAppLink *)refererAppLink; + +/*! + Shows the BFAppLinkReturnToRefererView with referer information extracted from the specified URL. + If nil or missing referer App Link data, the view will not be displayed. */ +- (void)showViewForRefererURL:(NSURL *)url; + +/*! + Closes the view, possibly animating it. + */ +- (void)closeViewAnimated:(BOOL)animated; + +@end diff --git a/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Headers/BFAppLinkReturnToRefererView.h b/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Headers/BFAppLinkReturnToRefererView.h new file mode 100644 index 0000000000..f62bc66f6c --- /dev/null +++ b/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Headers/BFAppLinkReturnToRefererView.h @@ -0,0 +1,78 @@ +/* + * Copyright (c) 2014, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + +#import +#import + +#import + +@class BFAppLinkReturnToRefererView; +@class BFURL; + +typedef NS_ENUM(NSUInteger, BFIncludeStatusBarInSize) { + BFIncludeStatusBarInSizeNever, + BFIncludeStatusBarInSizeIOS7AndLater, + BFIncludeStatusBarInSizeAlways, +}; + +/*! + Protocol that a class can implement in order to be notified when the user has navigated back + to the referer of an App Link. + */ +@protocol BFAppLinkReturnToRefererViewDelegate + +/*! + Called when the user has tapped inside the close button. + */ +- (void)returnToRefererViewDidTapInsideCloseButton:(BFAppLinkReturnToRefererView *)view; + +/*! + Called when the user has tapped inside the App Link portion of the view. + */ +- (void)returnToRefererViewDidTapInsideLink:(BFAppLinkReturnToRefererView *)view + link:(BFAppLink *)link; + +@end + +/*! + Provides a UIView that displays a button allowing users to navigate back to the + application that launched the App Link currently being handled, if the App Link + contained referer data. The user can also close the view by clicking a close button + rather than navigating away. If the view is provided an App Link that does not contain + referer data, it will have zero size and no UI will be displayed. + */ +NS_EXTENSION_UNAVAILABLE_IOS("Not available in app extension") +@interface BFAppLinkReturnToRefererView : UIView + +/*! + The delegate that will be notified when the user navigates back to the referer. + */ +@property (nonatomic, weak) id delegate; + +/*! + The color of the text label and close button. + */ +@property (nonatomic, strong) UIColor *textColor; + +@property (nonatomic, strong) BFAppLink *refererAppLink; + +/*! + Indicates whether to extend the size of the view to include the current status bar + size, for use in scenarios where the view might extend under the status bar on iOS 7 and + above; this property has no effect on earlier versions of iOS. + */ +@property (nonatomic, assign) BFIncludeStatusBarInSize includeStatusBarInSize; + +/*! + Indicates whether the user has closed the view by clicking the close button. + */ +@property (nonatomic, assign) BOOL closed; + +@end diff --git a/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Headers/BFAppLinkTarget.h b/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Headers/BFAppLinkTarget.h new file mode 100644 index 0000000000..61721269d5 --- /dev/null +++ b/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Headers/BFAppLinkTarget.h @@ -0,0 +1,33 @@ +/* + * Copyright (c) 2014, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + +#import + +/*! + Represents a target defined in App Link metadata, consisting of at least + a URL, and optionally an App Store ID and name. + */ +@interface BFAppLinkTarget : NSObject + +/*! Creates a BFAppLinkTarget with the given app site and target URL. */ ++ (instancetype)appLinkTargetWithURL:(NSURL *)url + appStoreId:(NSString *)appStoreId + appName:(NSString *)appName; + +/*! The URL prefix for this app link target */ +@property (nonatomic, strong, readonly) NSURL *URL; + +/*! The app ID for the app store */ +@property (nonatomic, copy, readonly) NSString *appStoreId; + +/*! The name of the app */ +@property (nonatomic, copy, readonly) NSString *appName; + +@end diff --git a/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Headers/BFCancellationToken.h b/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Headers/BFCancellationToken.h new file mode 100644 index 0000000000..bda32ee800 --- /dev/null +++ b/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Headers/BFCancellationToken.h @@ -0,0 +1,42 @@ +/* + * Copyright (c) 2014, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + +#import + +#import + +NS_ASSUME_NONNULL_BEGIN + +/*! + A block that will be called when a token is cancelled. + */ +typedef void(^BFCancellationBlock)(void); + +/*! + The consumer view of a CancellationToken. + Propagates notification that operations should be canceled. + A BFCancellationToken has methods to inspect whether the token has been cancelled. + */ +@interface BFCancellationToken : NSObject + +/*! + Whether cancellation has been requested for this token source. + */ +@property (nonatomic, assign, readonly, getter=isCancellationRequested) BOOL cancellationRequested; + +/*! + Register a block to be notified when the token is cancelled. + If the token is already cancelled the delegate will be notified immediately. + */ +- (BFCancellationTokenRegistration *)registerCancellationObserverWithBlock:(BFCancellationBlock)block; + +@end + +NS_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Headers/BFCancellationTokenRegistration.h b/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Headers/BFCancellationTokenRegistration.h new file mode 100644 index 0000000000..fa6090f667 --- /dev/null +++ b/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Headers/BFCancellationTokenRegistration.h @@ -0,0 +1,29 @@ +/* + * Copyright (c) 2014, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/*! + Represents the registration of a cancellation observer with a cancellation token. + Can be used to unregister the observer at a later time. + */ +@interface BFCancellationTokenRegistration : NSObject + +/*! + Removes the cancellation observer registered with the token + and releases all resources associated with this registration. + */ +- (void)dispose; + +@end + +NS_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Headers/BFCancellationTokenSource.h b/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Headers/BFCancellationTokenSource.h new file mode 100644 index 0000000000..4627e9958f --- /dev/null +++ b/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Headers/BFCancellationTokenSource.h @@ -0,0 +1,60 @@ +/* + * Copyright (c) 2014, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +@class BFCancellationToken; + +/*! + BFCancellationTokenSource represents the producer side of a CancellationToken. + Signals to a CancellationToken that it should be canceled. + It is a cancellation token that also has methods + for changing the state of a token by cancelling it. + */ +@interface BFCancellationTokenSource : NSObject + +/*! + Creates a new cancellation token source. + */ ++ (instancetype)cancellationTokenSource; + +/*! + The cancellation token associated with this CancellationTokenSource. + */ +@property (nonatomic, strong, readonly) BFCancellationToken *token; + +/*! + Whether cancellation has been requested for this token source. + */ +@property (nonatomic, assign, readonly, getter=isCancellationRequested) BOOL cancellationRequested; + +/*! + Cancels the token if it has not already been cancelled. + */ +- (void)cancel; + +/*! + Schedules a cancel operation on this CancellationTokenSource after the specified number of milliseconds. + @param millis The number of milliseconds to wait before completing the returned task. + If delay is `0` the cancel is executed immediately. If delay is `-1` any scheduled cancellation is stopped. + */ +- (void)cancelAfterDelay:(int)millis; + +/*! + Releases all resources associated with this token source, + including disposing of all registrations. + */ +- (void)dispose; + +@end + +NS_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Headers/BFExecutor.h b/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Headers/BFExecutor.h new file mode 100644 index 0000000000..694c8a5fc2 --- /dev/null +++ b/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Headers/BFExecutor.h @@ -0,0 +1,62 @@ +/* + * Copyright (c) 2014, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/*! + An object that can run a given block. + */ +@interface BFExecutor : NSObject + +/*! + Returns a default executor, which runs continuations immediately until the call stack gets too + deep, then dispatches to a new GCD queue. + */ ++ (instancetype)defaultExecutor; + +/*! + Returns an executor that runs continuations on the thread where the previous task was completed. + */ ++ (instancetype)immediateExecutor; + +/*! + Returns an executor that runs continuations on the main thread. + */ ++ (instancetype)mainThreadExecutor; + +/*! + Returns a new executor that uses the given block to execute continuations. + @param block The block to use. + */ ++ (instancetype)executorWithBlock:(void(^)(void(^block)(void)))block; + +/*! + Returns a new executor that runs continuations on the given queue. + @param queue The instance of `dispatch_queue_t` to dispatch all continuations onto. + */ ++ (instancetype)executorWithDispatchQueue:(dispatch_queue_t)queue; + +/*! + Returns a new executor that runs continuations on the given queue. + @param queue The instance of `NSOperationQueue` to run all continuations on. + */ ++ (instancetype)executorWithOperationQueue:(NSOperationQueue *)queue; + +/*! + Runs the given block using this executor's particular strategy. + @param block The block to execute. + */ +- (void)execute:(void(^)(void))block; + +@end + +NS_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Headers/BFGeneric.h b/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Headers/BFGeneric.h new file mode 100644 index 0000000000..99b2cf7de7 --- /dev/null +++ b/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Headers/BFGeneric.h @@ -0,0 +1,25 @@ +/* + * Copyright (c) 2014, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + +#import + +#pragma once + +/** + This exists to use along with `BFTask` and `BFTaskCompletionSource`. + + Instead of returning a `BFTask` with no generic type, or a generic type of 'NSNull' + when there is no usable result from a task, we use the type 'BFVoid', which will always have a value of `nil`. + + This allows you to provide a more enforced API contract to the caller, + as sending any message to `BFVoid` will result in a compile time error. + */ +@class _BFVoid_Nonexistant; +typedef _BFVoid_Nonexistant *BFVoid; diff --git a/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Headers/BFMeasurementEvent.h b/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Headers/BFMeasurementEvent.h new file mode 100644 index 0000000000..b3173fc23c --- /dev/null +++ b/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Headers/BFMeasurementEvent.h @@ -0,0 +1,45 @@ +/* + * Copyright (c) 2014, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + +#import + +/*! The name of the notification posted by BFMeasurementEvent */ +FOUNDATION_EXPORT NSString *const BFMeasurementEventNotificationName; + +/*! Defines keys in the userInfo object for the notification named BFMeasurementEventNotificationName */ +/*! The string field for the name of the event */ +FOUNDATION_EXPORT NSString *const BFMeasurementEventNameKey; +/*! The dictionary field for the arguments of the event */ +FOUNDATION_EXPORT NSString *const BFMeasurementEventArgsKey; + +/*! Bolts Events raised by BFMeasurementEvent for Applink */ +/*! + The name of the event posted when [BFURL URLWithURL:] is called successfully. This represents the successful parsing of an app link URL. + */ +FOUNDATION_EXPORT NSString *const BFAppLinkParseEventName; + +/*! + The name of the event posted when [BFURL URLWithInboundURL:] is called successfully. + This represents parsing an inbound app link URL from a different application + */ +FOUNDATION_EXPORT NSString *const BFAppLinkNavigateInEventName; + +/*! The event raised when the user navigates from your app to other apps */ +FOUNDATION_EXPORT NSString *const BFAppLinkNavigateOutEventName; + +/*! + The event raised when the user navigates out from your app and back to the referrer app. + e.g when the user leaves your app after tapping the back-to-referrer navigation bar + */ +FOUNDATION_EXPORT NSString *const BFAppLinkNavigateBackToReferrerEventName; + +@interface BFMeasurementEvent : NSObject + +@end diff --git a/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Headers/BFTask.h b/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Headers/BFTask.h new file mode 100644 index 0000000000..074c182de7 --- /dev/null +++ b/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Headers/BFTask.h @@ -0,0 +1,266 @@ +/* + * Copyright (c) 2014, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + +#import + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +/*! + Error domain used if there was multiple errors on . + */ +extern NSString *const BFTaskErrorDomain; + +/*! + An error code used for , if there were multiple errors. + */ +extern NSInteger const kBFMultipleErrorsError; + +/*! + An error userInfo key used if there were multiple errors on . + Value type is `NSArray *`. + */ +extern NSString *const BFTaskMultipleErrorsUserInfoKey; + +@class BFExecutor; +@class BFTask; + +/*! + The consumer view of a Task. A BFTask has methods to + inspect the state of the task, and to add continuations to + be run once the task is complete. + */ +@interface BFTask<__covariant ResultType> : NSObject + +/*! + A block that can act as a continuation for a task. + */ +typedef __nullable id(^BFContinuationBlock)(BFTask *t); + +/*! + Creates a task that is already completed with the given result. + @param result The result for the task. + */ ++ (instancetype)taskWithResult:(nullable ResultType)result; + +/*! + Creates a task that is already completed with the given error. + @param error The error for the task. + */ ++ (instancetype)taskWithError:(NSError *)error; + +/*! + Creates a task that is already cancelled. + */ ++ (instancetype)cancelledTask; + +/*! + Returns a task that will be completed (with result == nil) once + all of the input tasks have completed. + @param tasks An `NSArray` of the tasks to use as an input. + */ ++ (instancetype)taskForCompletionOfAllTasks:(nullable NSArray *)tasks; + +/*! + Returns a task that will be completed once all of the input tasks have completed. + If all tasks complete successfully without being faulted or cancelled the result will be + an `NSArray` of all task results in the order they were provided. + @param tasks An `NSArray` of the tasks to use as an input. + */ ++ (instancetype)taskForCompletionOfAllTasksWithResults:(nullable NSArray *)tasks; + +/*! + Returns a task that will be completed once there is at least one successful task. + The first task to successuly complete will set the result, all other tasks results are + ignored. + @param tasks An `NSArray` of the tasks to use as an input. + */ ++ (instancetype)taskForCompletionOfAnyTask:(nullable NSArray *)tasks; + +/*! + Returns a task that will be completed a certain amount of time in the future. + @param millis The approximate number of milliseconds to wait before the + task will be finished (with result == nil). + */ ++ (BFTask *)taskWithDelay:(int)millis; + +/*! + Returns a task that will be completed a certain amount of time in the future. + @param millis The approximate number of milliseconds to wait before the + task will be finished (with result == nil). + @param token The cancellation token (optional). + */ ++ (BFTask *)taskWithDelay:(int)millis cancellationToken:(nullable BFCancellationToken *)token; + +/*! + Returns a task that will be completed after the given block completes with + the specified executor. + @param executor A BFExecutor responsible for determining how the + continuation block will be run. + @param block The block to immediately schedule to run with the given executor. + @returns A task that will be completed after block has run. + If block returns a BFTask, then the task returned from + this method will not be completed until that task is completed. + */ ++ (instancetype)taskFromExecutor:(BFExecutor *)executor withBlock:(nullable id (^)(void))block; + +// Properties that will be set on the task once it is completed. + +/*! + The result of a successful task. + */ +@property (nullable, nonatomic, strong, readonly) ResultType result; + +/*! + The error of a failed task. + */ +@property (nullable, nonatomic, strong, readonly) NSError *error; + +/*! + Whether this task has been cancelled. + */ +@property (nonatomic, assign, readonly, getter=isCancelled) BOOL cancelled; + +/*! + Whether this task has completed due to an error. + */ +@property (nonatomic, assign, readonly, getter=isFaulted) BOOL faulted; + +/*! + Whether this task has completed. + */ +@property (nonatomic, assign, readonly, getter=isCompleted) BOOL completed; + +/*! + Enqueues the given block to be run once this task is complete. + This method uses a default execution strategy. The block will be + run on the thread where the previous task completes, unless the + the stack depth is too deep, in which case it will be run on a + dispatch queue with default priority. + @param block The block to be run once this task is complete. + @returns A task that will be completed after block has run. + If block returns a BFTask, then the task returned from + this method will not be completed until that task is completed. + */ +- (BFTask *)continueWithBlock:(BFContinuationBlock)block NS_SWIFT_NAME(continueWith(block:)); + +/*! + Enqueues the given block to be run once this task is complete. + This method uses a default execution strategy. The block will be + run on the thread where the previous task completes, unless the + the stack depth is too deep, in which case it will be run on a + dispatch queue with default priority. + @param block The block to be run once this task is complete. + @param cancellationToken The cancellation token (optional). + @returns A task that will be completed after block has run. + If block returns a BFTask, then the task returned from + this method will not be completed until that task is completed. + */ +- (BFTask *)continueWithBlock:(BFContinuationBlock)block + cancellationToken:(nullable BFCancellationToken *)cancellationToken NS_SWIFT_NAME(continueWith(block:cancellationToken:)); + +/*! + Enqueues the given block to be run once this task is complete. + @param executor A BFExecutor responsible for determining how the + continuation block will be run. + @param block The block to be run once this task is complete. + @returns A task that will be completed after block has run. + If block returns a BFTask, then the task returned from + this method will not be completed until that task is completed. + */ +- (BFTask *)continueWithExecutor:(BFExecutor *)executor + withBlock:(BFContinuationBlock)block NS_SWIFT_NAME(continueWith(executor:block:)); + +/*! + Enqueues the given block to be run once this task is complete. + @param executor A BFExecutor responsible for determining how the + continuation block will be run. + @param block The block to be run once this task is complete. + @param cancellationToken The cancellation token (optional). + @returns A task that will be completed after block has run. + If block returns a BFTask, then the task returned from + his method will not be completed until that task is completed. + */ +- (BFTask *)continueWithExecutor:(BFExecutor *)executor + block:(BFContinuationBlock)block + cancellationToken:(nullable BFCancellationToken *)cancellationToken +NS_SWIFT_NAME(continueWith(executor:block:cancellationToken:)); + +/*! + Identical to continueWithBlock:, except that the block is only run + if this task did not produce a cancellation or an error. + If it did, then the failure will be propagated to the returned + task. + @param block The block to be run once this task is complete. + @returns A task that will be completed after block has run. + If block returns a BFTask, then the task returned from + this method will not be completed until that task is completed. + */ +- (BFTask *)continueWithSuccessBlock:(BFContinuationBlock)block NS_SWIFT_NAME(continueOnSuccessWith(block:)); + +/*! + Identical to continueWithBlock:, except that the block is only run + if this task did not produce a cancellation or an error. + If it did, then the failure will be propagated to the returned + task. + @param block The block to be run once this task is complete. + @param cancellationToken The cancellation token (optional). + @returns A task that will be completed after block has run. + If block returns a BFTask, then the task returned from + this method will not be completed until that task is completed. + */ +- (BFTask *)continueWithSuccessBlock:(BFContinuationBlock)block + cancellationToken:(nullable BFCancellationToken *)cancellationToken +NS_SWIFT_NAME(continueOnSuccessWith(block:cancellationToken:)); + +/*! + Identical to continueWithExecutor:withBlock:, except that the block + is only run if this task did not produce a cancellation, error, or an error. + If it did, then the failure will be propagated to the returned task. + @param executor A BFExecutor responsible for determining how the + continuation block will be run. + @param block The block to be run once this task is complete. + @returns A task that will be completed after block has run. + If block returns a BFTask, then the task returned from + this method will not be completed until that task is completed. + */ +- (BFTask *)continueWithExecutor:(BFExecutor *)executor + withSuccessBlock:(BFContinuationBlock)block NS_SWIFT_NAME(continueOnSuccessWith(executor:block:)); + +/*! + Identical to continueWithExecutor:withBlock:, except that the block + is only run if this task did not produce a cancellation or an error. + If it did, then the failure will be propagated to the returned task. + @param executor A BFExecutor responsible for determining how the + continuation block will be run. + @param block The block to be run once this task is complete. + @param cancellationToken The cancellation token (optional). + @returns A task that will be completed after block has run. + If block returns a BFTask, then the task returned from + this method will not be completed until that task is completed. + */ +- (BFTask *)continueWithExecutor:(BFExecutor *)executor + successBlock:(BFContinuationBlock)block + cancellationToken:(nullable BFCancellationToken *)cancellationToken +NS_SWIFT_NAME(continueOnSuccessWith(executor:block:cancellationToken:)); + +/*! + Waits until this operation is completed. + This method is inefficient and consumes a thread resource while + it's running. It should be avoided. This method logs a warning + message if it is used on the main thread. + */ +- (void)waitUntilFinished; + +@end + +NS_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Headers/BFTaskCompletionSource.h b/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Headers/BFTaskCompletionSource.h new file mode 100644 index 0000000000..f94c18fdb5 --- /dev/null +++ b/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Headers/BFTaskCompletionSource.h @@ -0,0 +1,75 @@ +/* + * Copyright (c) 2014, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +@class BFTask<__covariant ResultType>; + +/*! + A BFTaskCompletionSource represents the producer side of tasks. + It is a task that also has methods for changing the state of the + task by settings its completion values. + */ +@interface BFTaskCompletionSource<__covariant ResultType> : NSObject + +/*! + Creates a new unfinished task. + */ ++ (instancetype)taskCompletionSource; + +/*! + The task associated with this TaskCompletionSource. + */ +@property (nonatomic, strong, readonly) BFTask *task; + +/*! + Completes the task by setting the result. + Attempting to set this for a completed task will raise an exception. + @param result The result of the task. + */ +- (void)setResult:(nullable ResultType)result NS_SWIFT_NAME(set(result:)); + +/*! + Completes the task by setting the error. + Attempting to set this for a completed task will raise an exception. + @param error The error for the task. + */ +- (void)setError:(NSError *)error NS_SWIFT_NAME(set(error:)); + +/*! + Completes the task by marking it as cancelled. + Attempting to set this for a completed task will raise an exception. + */ +- (void)cancel; + +/*! + Sets the result of the task if it wasn't already completed. + @returns whether the new value was set. + */ +- (BOOL)trySetResult:(nullable ResultType)result NS_SWIFT_NAME(trySet(result:)); + +/*! + Sets the error of the task if it wasn't already completed. + @param error The error for the task. + @returns whether the new value was set. + */ +- (BOOL)trySetError:(NSError *)error NS_SWIFT_NAME(trySet(error:)); + +/*! + Sets the cancellation state of the task if it wasn't already completed. + @returns whether the new value was set. + */ +- (BOOL)trySetCancelled; + +@end + +NS_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Headers/BFURL.h b/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Headers/BFURL.h new file mode 100644 index 0000000000..924c91d480 --- /dev/null +++ b/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Headers/BFURL.h @@ -0,0 +1,75 @@ +/* + * Copyright (c) 2014, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + +#import + +@class BFAppLink; + +/*! + Provides a set of utilities for working with NSURLs, such as parsing of query parameters + and handling for App Link requests. + */ +@interface BFURL : NSObject + +/*! + Creates a link target from a raw URL. + On success, this posts the BFAppLinkParseEventName measurement event. If you are constructing the BFURL within your application delegate's + application:openURL:sourceApplication:annotation:, you should instead use URLWithInboundURL:sourceApplication: + to support better BFMeasurementEvent notifications + @param url The instance of `NSURL` to create BFURL from. + */ ++ (BFURL *)URLWithURL:(NSURL *)url; + +/*! + Creates a link target from a raw URL received from an external application. This is typically called from the app delegate's + application:openURL:sourceApplication:annotation: and will post the BFAppLinkNavigateInEventName measurement event. + @param url The instance of `NSURL` to create BFURL from. + @param sourceApplication the bundle ID of the app that is requesting your app to open the URL. The same sourceApplication in application:openURL:sourceApplication:annotation: + */ ++ (BFURL *)URLWithInboundURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication; + +/*! + Gets the target URL. If the link is an App Link, this is the target of the App Link. + Otherwise, it is the url that created the target. + */ +@property (nonatomic, strong, readonly) NSURL *targetURL; + +/*! + Gets the query parameters for the target, parsed into an NSDictionary. + */ +@property (nonatomic, strong, readonly) NSDictionary *targetQueryParameters; + +/*! + If this link target is an App Link, this is the data found in al_applink_data. + Otherwise, it is nil. + */ +@property (nonatomic, strong, readonly) NSDictionary *appLinkData; + +/*! + If this link target is an App Link, this is the data found in extras. + */ +@property (nonatomic, strong, readonly) NSDictionary *appLinkExtras; + +/*! + The App Link indicating how to navigate back to the referer app, if any. + */ +@property (nonatomic, strong, readonly) BFAppLink *appLinkReferer; + +/*! + The URL that was used to create this BFURL. + */ +@property (nonatomic, strong, readonly) NSURL *inputURL; + +/*! + The query parameters of the inputURL, parsed into an NSDictionary. + */ +@property (nonatomic, strong, readonly) NSDictionary *inputQueryParameters; + +@end diff --git a/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Headers/BFWebViewAppLinkResolver.h b/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Headers/BFWebViewAppLinkResolver.h new file mode 100644 index 0000000000..3782ae2cb9 --- /dev/null +++ b/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Headers/BFWebViewAppLinkResolver.h @@ -0,0 +1,26 @@ +/* + * Copyright (c) 2014, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + +#import + +#import + +/*! + A reference implementation for an App Link resolver that uses a hidden UIWebView + to parse the HTML containing App Link metadata. + */ +@interface BFWebViewAppLinkResolver : NSObject + +/*! + Gets the instance of a BFWebViewAppLinkResolver. + */ ++ (instancetype)sharedInstance; + +@end diff --git a/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Headers/Bolts.h b/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Headers/Bolts.h new file mode 100644 index 0000000000..a3f2bd6f29 --- /dev/null +++ b/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Headers/Bolts.h @@ -0,0 +1,39 @@ +/* + * Copyright (c) 2014, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + */ + +#import +#import +#import +#import +#import +#import +#import + +#if __has_include() && TARGET_OS_IPHONE && !TARGET_OS_WATCH && !TARGET_OS_TV +#import +#import +#import +#import +#import +#import +#import +#import +#import +#endif + + +NS_ASSUME_NONNULL_BEGIN + +/** + A string containing the version of the Bolts Framework used by the current application. + */ +extern NSString *const BoltsFrameworkVersionString; + +NS_ASSUME_NONNULL_END diff --git a/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Info.plist b/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Info.plist new file mode 100644 index 0000000000..af7756dacc Binary files /dev/null and b/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Info.plist differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Modules/module.modulemap b/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Modules/module.modulemap new file mode 100644 index 0000000000..3c92a170fd --- /dev/null +++ b/iphone/Maps/3party/Carthage/Build/iOS/Static/Bolts.framework/Modules/module.modulemap @@ -0,0 +1,15 @@ +framework module Bolts { + umbrella header "Bolts.h" + + export * + module * { export * } + + explicit module BFAppLinkResolving { + header "BFAppLinkResolving.h" + export * + } + explicit module BFWebViewAppLinkResolver { + header "BFWebViewAppLinkResolver.h" + export * + } +}