1
This commit is contained in:
33
CustomKeyboard/View/EmojiView/KBEmojiPanelView.h
Normal file
33
CustomKeyboard/View/EmojiView/KBEmojiPanelView.h
Normal file
@@ -0,0 +1,33 @@
|
||||
//
|
||||
// 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
|
||||
Reference in New Issue
Block a user