An easy to use Emoji keyboard for iOS.
Has been rewritten with swift, the old Objective-C version on branch oc.
To run the example project, clone the repo, and run pod install
from the Example directory first.
- Swift3
- iOS8+
- Xcode8
# Swift
pod 'ISEmojiView'
# Objective-C
pod 'ISEmojiView', '0.0.1'
github "isaced/ISEmojiView"
import ISEmojiView
let emojiView = ISEmojiView()
emojiView.delegate = self
textView.inputView = emojiView
Custom emoji list, you can read emojis from file or other
let emojiView = ISEmojiView(emojis: [[String]])
func emojiViewDidSelectEmoji(emojiView: ISEmojiView, emoji: String) {
textView.insertText(emoji)
}
func emojiViewDidPressDeleteButton(emojiView: ISEmojiView) {
textView.deleteBackward()
}
// long press to pop preview effect like iOS10 system emoji keyboard, Default is true
public var isShowPopPreview = true
MIT