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