Files
keyboard/CustomKeyboard/View/KBEmojiPanelView.h

34 lines
739 B
C
Raw Normal View History

2025-12-15 13:24:43 +08:00
//
// KBEmojiPanelView.h
// CustomKeyboard
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@class KBEmojiPanelView, KBSkinTheme;
@protocol KBEmojiPanelViewDelegate <NSObject>
- (void)emojiPanelView:(KBEmojiPanelView *)panel didSelectEmoji:(NSString *)emoji;
- (void)emojiPanelViewDidRequestClose:(KBEmojiPanelView *)panel;
- (void)emojiPanelViewDidTapSearch:(KBEmojiPanelView *)panel;
@end
@interface KBEmojiPanelView : UIView
@property (nonatomic, weak) id<KBEmojiPanelViewDelegate> delegate;
/// 刷新数据(包括常用分类)。
- (void)reloadData;
/// 应用当前主题色
- (void)applyTheme:(KBSkinTheme *)theme;
/// 高亮指定分类
- (void)selectCategoryAtIndex:(NSInteger)index;
@end
NS_ASSUME_NONNULL_END