12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- //
- // PBChatBar.h
- // PBSDK
- //
- // Created by LStar on 2025/1/22.
- //
- #import <UIKit/UIKit.h>
- #import <YYText/YYText.h>
- #import "PBChatBarEmoticonView.h"
- NS_ASSUME_NONNULL_BEGIN
- @protocol PBChatBarDelegate;
- @interface PBChatBar : UIView
- @property (nonatomic, weak) id<PBChatBarDelegate> delegate;
- @property (nonatomic, strong) YYTextView *textView;
- @property (nonatomic, strong) PBChatBarEmoticonView *moreEmoticonView;
- - (void)addTool:(NSInteger)type;
- - (void)clearInputViewText;
- - (void)inputViewAppendText:(NSString *)aText;
- - (BOOL)deleteTailText;
- - (void)clearMoreViewAndSelectedButton;
- @end
- @protocol PBChatBarDelegate <NSObject>
- @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;
- - (void)didSelectGift;
- - (void)didSelectChangeLive;
- - (void)bottomView:(BOOL)show;
- @end
- NS_ASSUME_NONNULL_END
|