|
|
||
|---|---|---|
| Example | ||
| ISEmojiView | ||
| .gitignore | ||
| LICENSE | ||
| README.md | ||
| screenshot.jpg | ||
README.md
ISEmojiView
Emoji Keyboard for iOS
##Useage
###import
#import "ISEmojiView.h"
###Init
// init ISEmojiView
ISEmojiView *emojiView = [[ISEmojiView alloc] initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, 216)];
emojiView.delegate = self;
self.textView.inputView = emojiView;
###Response
add protocol ISEmojiViewDelegate and implementation emojiView:didSelectEmoji: method
-(void)emojiView:(ISEmojiView *)emojiView didSelectEmoji:(NSString *)emoji{
self.textView.text = [self.textView.text stringByAppendingString:emoji];
}
##Author
##License
MIT
