// // PBChatBar.h // PBSDK // // Created by LStar on 2025/1/22. // #import #import #import "PBChatBarEmoticonView.h" NS_ASSUME_NONNULL_BEGIN @protocol PBChatBarDelegate; @interface PBChatBar : UIView @property (nonatomic, weak) id delegate; @property (nonatomic, strong) YYTextView *textView; @property (nonatomic, strong) PBChatBarEmoticonView *moreEmoticonView; - (void)clearInputViewText; - (void)inputViewAppendText:(NSString *)aText; - (BOOL)deleteTailText; - (void)clearMoreViewAndSelectedButton; @end @protocol PBChatBarDelegate @optional - (BOOL)textView:(YYTextView *)textView shouldChangeTextInRange:(NSRange)range replacementText:(NSString *)text; - (void)textViewDidChangeSelection:(YYTextView *)textView; - (void)inputViewDidChange:(YYTextView *)aInputView; - (void)chatBarDidShowMoreViewAction; - (void)chatBarSendMsgAction:(NSString *)text; @end NS_ASSUME_NONNULL_END