Emojis

KeyboardKit makes it easy to use and type with emojis, and defines additional categories and version models.

Emojis

KeyboardKit has an Emoji struct that represents an emoji value. It also serves as a namespace for emoji-related types and views.

let emojis = Emoji.all        // ๐Ÿ˜€๐Ÿ˜ƒ๐Ÿ˜„๐Ÿ˜๐Ÿ˜†๐Ÿฅน๐Ÿ˜…๐Ÿ˜‚๐Ÿคฃ๐Ÿฅฒ...
Emoji("๐Ÿ˜€").localizedName     // Grinning Face
Emoji("๐Ÿ‘").unicodeIdentifier // \\N{THUMBS UP SIGN}
Emoji("๐Ÿ‘").skinToneVariants  // ๐Ÿ‘๐Ÿ‘๐Ÿป๐Ÿ‘๐Ÿผ๐Ÿ‘๐Ÿฝ๐Ÿ‘๐Ÿพ๐Ÿ‘๐Ÿฟ'

Categories

KeyboardKit has an EmojiCategory struct that defines standard and custom categories.

EmojiCategory.smileysAndPeople.emojis  // ๐Ÿ˜€๐Ÿ˜ƒ๐Ÿ˜„...

KeyboardKit will automatically persist selected emojis in custom .frequent and .recent categories, to let you tailor how a user can access often used emojis.

Versions

KeyboardKit has an EmojiVersion enum that defines all supported emoji versions.

EmojiVersion.v15.emojis       // ๐Ÿซจ๐Ÿซธ๐Ÿซท๐Ÿชฟ๐ŸซŽ๐Ÿชผ๐Ÿซ๐Ÿชฝ๐Ÿชป๐Ÿซ›๐Ÿซš๐Ÿช‡๐Ÿชˆ๐Ÿชฎ๐Ÿชญ๐Ÿฉท๐Ÿฉต๐Ÿฉถ๐Ÿชฏ๐Ÿ›œ...

KeyboardKit will automatically filter out emoji versions that the current device doesnโ€™t support, to avoid that unsupported emojis appear in the emoji keyboard.

KeyboardKit Pro

KeyboardKit Pro unlocks an EmojiKeyboard that mimics the native emoji keyboard, with complete support for emoji categories, skin tones, search, etc.

KeyboardKit will automatically register emojis as you use them, to populate the .frequent category. You can customize this behavior as you see fit.

KeyboardKit Pro also adds emoji search to the KeyboardView, to let your users search for matching emojis.

Documentation

The information on this page has been shortened to be easier to overview and keep up to date. For a complete feature description, see the online documentation.