Files
keyboard/keyBoard/Class/AiTalk/V/KBAICommentInputView.h

30 lines
497 B
C
Raw Normal View History

2026-01-16 15:55:08 +08:00
//
// KBAICommentInputView.h
// keyBoard
//
// Created by Mac on 2026/1/16.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
/// 底部评论输入框
@interface KBAICommentInputView : UIView
/// 发送回调,参数为输入的文本
@property(nonatomic, copy, nullable) void (^onSend)(NSString *text);
/// 设置占位文字
@property(nonatomic, copy) NSString *placeholder;
/// 清空输入框
- (void)clearText;
2026-01-16 20:44:10 +08:00
/// 弹起键盘
- (void)showKeyboard;
2026-01-16 15:55:08 +08:00
@end
NS_ASSUME_NONNULL_END