| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- //
- // MOLiveMsgTextCell.h
- // MiMoLive
- //
- // Created by SuperC on 2025/6/9.
- //
- #define MOLiveMsgTextCell_ID @"MOLiveMsgTextCell_ID" //复用id
- #import <UIKit/UIKit.h>
- #import <YYKit/YYLabel.h>
- NS_ASSUME_NONNULL_BEGIN
- @interface MOLiveMsgTextCell : UITableViewCell
- @property (nonatomic, strong) UIView *bgView;
- @property (nonatomic, strong) UIImageView *bubbleImgView;
- @property (nonatomic, strong) YYLabel *titleLab;
- @property (nonatomic, strong) MOMsgContentTextView *contentTextView;
- @property (nonatomic, strong) MORtmEntity *cellModel;
- @property (nonatomic, assign) BOOL isWhiteList;
- /** 气泡的点击手势(可以根据需要将这个手势从视图中移除或禁止) */
- @property (nonatomic, strong, readonly) UITapGestureRecognizer *bubbleTapGestureRecognizer;
- /** 气泡的长按手势(可以根据需要将这个手势从视图中移除或禁止) */
- @property (nonatomic, strong, readonly) UILongPressGestureRecognizer *bubbleLongPressGestureRecognizer;
- /** cell 单击事件 */
- @property (nonatomic, copy) void(^cellTapBlock)(MORtmEntity *cellModel);
- /** cell 长按事件 */
- @property (nonatomic, copy) void(^cellLongPressBlock)(MORtmEntity *cellModel);
- /** 刷新当前Cell */
- @property (nonatomic, copy) void(^toRefreshTheCell) (MORtmEntity *cellModel);
- @end
- NS_ASSUME_NONNULL_END
|