提交
This commit is contained in:
67
TUIKit/TUIChat/UI_Classic/Chat/TUIMessageMultiChooseView.h
Normal file
67
TUIKit/TUIChat/UI_Classic/Chat/TUIMessageMultiChooseView.h
Normal file
@@ -0,0 +1,67 @@
|
||||
|
||||
// Created by Tencent on 2023/06/09.
|
||||
// Copyright © 2023 Tencent. All rights reserved.
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@class TUIMessageMultiChooseView;
|
||||
|
||||
@protocol TUIMessageMultiChooseViewDelegate <NSObject>
|
||||
|
||||
/**
|
||||
* Callback when the cancel button on the multi-select message panel is clicked
|
||||
*/
|
||||
- (void)messageMultiChooseViewOnCancelClicked:(TUIMessageMultiChooseView *)multiChooseView;
|
||||
|
||||
/**
|
||||
* Callback for when the forward button on the multi-select message panel is clicked
|
||||
*/
|
||||
- (void)messageMultiChooseViewOnRelayClicked:(TUIMessageMultiChooseView *)multiChooseView;
|
||||
|
||||
/**
|
||||
* Callback for when the delete button on the multi-select message panel is clicked
|
||||
*/
|
||||
- (void)messageMultiChooseViewOnDeleteClicked:(TUIMessageMultiChooseView *)multiChooseView;
|
||||
|
||||
@end
|
||||
|
||||
@interface TUIMessageMultiChooseView : UIView
|
||||
|
||||
@property(nonatomic, weak) id<TUIMessageMultiChooseViewDelegate> delegate;
|
||||
|
||||
#pragma mark - Top toolbar
|
||||
/**
|
||||
* The top toolbar, showing shortcut operations such as cancel
|
||||
*/
|
||||
@property(nonatomic, strong) UIView *toolView;
|
||||
|
||||
/**
|
||||
* Top toolbar element: Cancel button
|
||||
*/
|
||||
@property(nonatomic, strong) UIButton *cancelButton;
|
||||
|
||||
/**
|
||||
* Top toolbar element: title
|
||||
*/
|
||||
@property(nonatomic, strong) UILabel *titleLabel;
|
||||
|
||||
#pragma mark - Bottom menu bar
|
||||
/**
|
||||
* The bottom menu bar, shows the operation menu after multiple selection messages, such as forwarding, deleting, etc.
|
||||
*/
|
||||
@property(nonatomic, strong) UIView *menuView;
|
||||
|
||||
/**
|
||||
* Bottom menu bar element: Forward button
|
||||
*/
|
||||
@property(nonatomic, strong) UIButton *relayButton;
|
||||
|
||||
/**
|
||||
* Bottom menu bar element: Delete button
|
||||
*/
|
||||
@property(nonatomic, strong) UIButton *deleteButton;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
Reference in New Issue
Block a user