From f082c62bb40cad3ee93abd5432777ac0905eb374 Mon Sep 17 00:00:00 2001 From: lipengwei <lipengwei@nianben.com> Date: Fri, 27 Sep 2019 11:16:00 +0800 Subject: [PATCH] 3.8.3 --- frameworks/FBSDKShareKit.framework/Headers/FBSDKHashtag.h | 36 ++++++++++++++++++++++-------------- 1 files changed, 22 insertions(+), 14 deletions(-) diff --git a/frameworks/FBSDKShareKit.framework/Headers/FBSDKHashtag.h b/frameworks/FBSDKShareKit.framework/Headers/FBSDKHashtag.h index 49efa42..4c640b4 100644 --- a/frameworks/FBSDKShareKit.framework/Headers/FBSDKHashtag.h +++ b/frameworks/FBSDKShareKit.framework/Headers/FBSDKHashtag.h @@ -20,40 +20,48 @@ #import <FBSDKCoreKit/FBSDKCopying.h> -/*! - @abstract Represents a single hashtag that can be used with the share dialog. +NS_ASSUME_NONNULL_BEGIN + +/** + Represents a single hashtag that can be used with the share dialog. */ +NS_SWIFT_NAME(Hashtag) @interface FBSDKHashtag : NSObject <FBSDKCopying, NSSecureCoding> -/*! - @abstract Convenience method to build a new hashtag with a string identifier. Equivalent to setting the +/** + Convenience method to build a new hashtag with a string identifier. Equivalent to setting the `stringRepresentation` property. @param hashtagString The hashtag string. */ -+ (instancetype)hashtagWithString:(NSString *)hashtagString; ++ (instancetype)hashtagWithString:(NSString *)hashtagString +NS_SWIFT_NAME(init(_:)); -/*! - @abstract The hashtag string. - @discussion You are responsible for making sure that `stringRepresentation` is a valid hashtag (a single '#' followed +/** + The hashtag string. + + 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. @return The hashtag string. */ -@property (nonatomic, readwrite, copy) NSString *stringRepresentation; +@property (nonatomic, copy) NSString *stringRepresentation; -/*! - @abstract Tests if a hashtag is valid. - @discussion A valid hashtag matches the regular expression "#\w+": A single '#' followed by one or more +/** + Tests if a hashtag is valid. + + A valid hashtag matches the regular expression "#\w+": A single '#' followed by one or more word characters. @return YES if the hashtag is valid, NO otherwise. */ @property (nonatomic, readonly, assign, getter=isValid) BOOL valid; -/*! - @abstract Compares the receiver to another hashtag. +/** + Compares the receiver to another hashtag. @param hashtag The other hashtag @return YES if the receiver is equal to the other hashtag; otherwise NO */ - (BOOL)isEqualToHashtag:(FBSDKHashtag *)hashtag; @end + +NS_ASSUME_NONNULL_END -- Gitblit v1.8.0