处理键盘
This commit is contained in:
@@ -5,13 +5,34 @@
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
@class KBChatMessage;
|
||||
@class KBChatMessageCell;
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@protocol KBChatMessageCellDelegate <NSObject>
|
||||
@optional
|
||||
/// 点击语音播放按钮
|
||||
- (void)chatMessageCell:(KBChatMessageCell *)cell didTapVoiceButtonForMessage:(KBChatMessage *)message;
|
||||
@end
|
||||
|
||||
@interface KBChatMessageCell : UITableViewCell
|
||||
|
||||
@property (nonatomic, weak) id<KBChatMessageCellDelegate> delegate;
|
||||
|
||||
- (void)kb_configureWithMessage:(KBChatMessage *)message;
|
||||
|
||||
/// 更新语音播放状态
|
||||
- (void)kb_updateVoicePlayingState:(BOOL)isPlaying;
|
||||
|
||||
/// 显示语音加载动画
|
||||
- (void)kb_showVoiceLoadingAnimation;
|
||||
|
||||
/// 隐藏语音加载动画
|
||||
- (void)kb_hideVoiceLoadingAnimation;
|
||||
|
||||
/// 停止打字机效果
|
||||
- (void)kb_stopTypewriterEffect;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
|
||||
Reference in New Issue
Block a user