34 lines
772 B
Objective-C
34 lines
772 B
Objective-C
//
|
||
// KBChatMessageActionPopView.h
|
||
// keyBoard
|
||
//
|
||
// Created by Codex on 2026/2/3.
|
||
//
|
||
|
||
#import <UIKit/UIKit.h>
|
||
|
||
NS_ASSUME_NONNULL_BEGIN
|
||
|
||
typedef NS_ENUM(NSInteger, KBChatMessageActionType) {
|
||
KBChatMessageActionTypeCopy = 0,
|
||
KBChatMessageActionTypeDelete = 1,
|
||
KBChatMessageActionTypeReport = 2,
|
||
};
|
||
|
||
@class KBChatMessageActionPopView;
|
||
|
||
@protocol KBChatMessageActionPopViewDelegate <NSObject>
|
||
@optional
|
||
- (void)chatMessageActionPopView:(KBChatMessageActionPopView *)view
|
||
didSelectAction:(KBChatMessageActionType)action;
|
||
@end
|
||
|
||
/// 聊天消息长按操作弹窗(Copy / Delete / Report)
|
||
@interface KBChatMessageActionPopView : UIView
|
||
|
||
@property (nonatomic, weak) id<KBChatMessageActionPopViewDelegate> delegate;
|
||
|
||
@end
|
||
|
||
NS_ASSUME_NONNULL_END
|