FBSDKHashtag
@interfaceFBSDKHashtag:NSObject<NSCopying,NSObject,NSSecureCoding>
Represents a single hashtag that can be used with the share dialog.
@interfaceFBSDKHashtag:NSObject<NSCopying,NSObject,NSSecureCoding>
stringRepresentation
property.+(nonnullinstancetype)hashtagWithString:(nonnullNSString*)hashtagString;
convenienceinit(_hashtagString:String)
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.@property(nonatomic,copy,readwrite)NSString*_NonnullstringRepresentation;
varstringRepresentation:String{getset}
@property(nonatomic,assign,unsafe_unretained,readonly,getter=isValid)BOOLvalid;
varisValid:Bool{get}
-(BOOL)isEqualToHashtag:(nonnullFBSDKHashtag*)hashtag;
funcisEqual(tohashtag:Hashtag)->Bool