forked from ayushgoel/AGEmojiKeyboard
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathEmojiKeyBoardView.h
38 lines (28 loc) · 1011 Bytes
/
EmojiKeyBoardView.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//
// EmojiKeyBoardView.h
// EmojiKeyBoard
//
// Created by Ayush on 09/05/13.
// Copyright (c) 2013 Ayush. All rights reserved.
//
// Set as inputView to textfields, this view class gives an
// interface to the user to enter emoji characters.
#import <UIKit/UIKit.h>
@protocol EmojiKeyboardViewDelegate;
@interface EmojiKeyBoardView : UIView
@property (nonatomic, assign) id<EmojiKeyboardViewDelegate> delegate;
+ (void)clearRecentEmojis;
@end
@protocol EmojiKeyboardViewDelegate <NSObject>
/**
Delegate method called when user taps an emoji button
@param emojiKeyBoardView EmojiKeyBoardView object on which user has tapped.
@param emoji Emoji used by user
*/
- (void)emojiKeyBoardView:(EmojiKeyBoardView *)emojiKeyBoardView didUseEmoji:(NSString *)emoji;
/**
Delegate method called when user taps on the backspace button
@param emojiKeyBoardView EmojiKeyBoardView object on which user has tapped.
*/
- (void)emojiKeyBoardViewDidPressBackSpace:(EmojiKeyBoardView *)emojiKeyBoardView;
@end