From 49b8839fda3439edc31581527e84036e58f55f0f Mon Sep 17 00:00:00 2001
From: lpw <pengwei.li@gamehollywood.com>
Date: Tue, 26 Jan 2021 09:43:00 +0800
Subject: [PATCH] 3.9.2

---
 frameworks/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h |   28 ++++++++++++++++++++++------
 1 files changed, 22 insertions(+), 6 deletions(-)

diff --git a/frameworks/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h b/frameworks/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h
index d77392c..eee01c7 100644
--- a/frameworks/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h
+++ b/frameworks/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h
@@ -16,7 +16,13 @@
 // 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 "TargetConditionals.h"
+
+#if !TARGET_OS_TV
+
 #import <UIKit/UIKit.h>
+
+NS_ASSUME_NONNULL_BEGIN
 
 /**
  FBSDKTooltipViewArrowDirection enum
@@ -29,7 +35,7 @@
   FBSDKTooltipViewArrowDirectionDown = 0,
   /** View is located below given point, arrow is pointing up. */
   FBSDKTooltipViewArrowDirectionUp = 1,
-};
+} NS_SWIFT_NAME(FBTooltipView.ArrowDirection);
 
 /**
  FBSDKTooltipColorStyle enum
@@ -42,7 +48,7 @@
   FBSDKTooltipColorStyleFriendlyBlue = 0,
   /** Dark gray background, white text, light gray close button. */
   FBSDKTooltipColorStyleNeutralGray = 1,
-};
+} NS_SWIFT_NAME(FBTooltipView.ColorStyle);
 
 /**
 
@@ -53,6 +59,7 @@
 
  The tooltip fades in and will automatically fade out. See `displayDuration`.
  */
+NS_SWIFT_NAME(FBTooltipView)
 @interface FBSDKTooltipView : UIView
 
 /**
@@ -71,12 +78,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 +101,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 +131,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 +146,7 @@
 - (void)dismiss;
 
 @end
+
+NS_ASSUME_NONNULL_END
+
+#endif

--
Gitblit v1.8.0