From 88188ea7992a90e66db694e9fc1b304a59608044 Mon Sep 17 00:00:00 2001 From: lipengwei <lipengwei@nianben.com> Date: Thu, 26 Sep 2019 12:29:34 +0800 Subject: [PATCH] 3.8.3 --- frameworks/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h | 22 ++++++++++++++++------ 1 files changed, 16 insertions(+), 6 deletions(-) diff --git a/frameworks/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h b/frameworks/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h index d77392c..3941bcd 100644 --- a/frameworks/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h +++ b/frameworks/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h @@ -18,6 +18,8 @@ #import <UIKit/UIKit.h> +NS_ASSUME_NONNULL_BEGIN + /** FBSDKTooltipViewArrowDirection enum @@ -29,7 +31,7 @@ FBSDKTooltipViewArrowDirectionDown = 0, /** View is located below given point, arrow is pointing up. */ FBSDKTooltipViewArrowDirectionUp = 1, -}; +} NS_SWIFT_NAME(FBTooltipView.ArrowDirection); /** FBSDKTooltipColorStyle enum @@ -42,7 +44,7 @@ FBSDKTooltipColorStyleFriendlyBlue = 0, /** Dark gray background, white text, light gray close button. */ FBSDKTooltipColorStyleNeutralGray = 1, -}; +} NS_SWIFT_NAME(FBTooltipView.ColorStyle); /** @@ -53,6 +55,7 @@ The tooltip fades in and will automatically fade out. See `displayDuration`. */ +NS_SWIFT_NAME(FBTooltipView) @interface FBSDKTooltipView : UIView /** @@ -71,12 +74,12 @@ /** Gets or sets the message. */ -@property (nonatomic, copy) NSString *message; +@property (nonatomic, copy, nullable) NSString *message; /** Gets or sets the optional phrase that comprises the first part of the label (and is highlighted differently). */ -@property (nonatomic, copy) NSString *tagline; +@property (nonatomic, copy, nullable) NSString *tagline; /** Designated initializer. @@ -94,7 +97,9 @@ @see FBSDKLoginTooltipView */ -- (instancetype)initWithTagline:(NSString *)tagline message:(NSString *)message colorStyle:(FBSDKTooltipColorStyle)colorStyle; +- (instancetype)initWithTagline:(nullable NSString *)tagline + message:(nullable NSString *)message + colorStyle:(FBSDKTooltipColorStyle)colorStyle; /** Show tooltip at the top or at the bottom of given view. @@ -122,7 +127,10 @@ @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; +- (void)presentInView:(UIView *)view + withArrowPosition:(CGPoint)arrowPosition + direction:(FBSDKTooltipViewArrowDirection)arrowDirection +NS_SWIFT_NAME(present(in:arrowPosition:direction:)); /** Remove tooltip manually. @@ -134,3 +142,5 @@ - (void)dismiss; @end + +NS_ASSUME_NONNULL_END -- Gitblit v1.8.0