MOLiveMsgSendView.h 856 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. //
  2. // MOLiveMsgSendView.h
  3. // MiMoLive
  4. //
  5. // Created by SuperC on 2023/11/19.
  6. //
  7. #define MsgSendViewMinHeight (98.0) // 输入框的最小高度
  8. #import <UIKit/UIKit.h>
  9. #import "MOMentionTextView.h"
  10. NS_ASSUME_NONNULL_BEGIN
  11. @interface MOLiveMsgSendView : UIView
  12. @property (weak, nonatomic) IBOutlet UIView *bgView;
  13. @property (weak, nonatomic) IBOutlet UISwitch *theSwitch;
  14. @property (weak, nonatomic) IBOutlet MOMentionTextView *inputTextView;
  15. @property (weak, nonatomic) IBOutlet BigBtn *sendBtn;
  16. /** @的数据 昵称为key, UserId 为值 */
  17. @property (nonatomic, strong) NSMutableDictionary *remindUserDict;
  18. @property (nonatomic, copy) void(^sendTextBlock)(NSString *msgText, BOOL isDanMu, NSDictionary *remindUserDict);
  19. + (instancetype)moLiveMsgSendView;
  20. /// 清空输入框
  21. - (void)clearInputTextViewText;
  22. @end
  23. NS_ASSUME_NONNULL_END