| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- // 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
|