You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Collection of useful libraries for working with Emoji
Emoji
A full collection of all emojis available in iOS.
Emojis are retrieved from gemoji repository.
It makes sense to use a more up-to-date source.
How to use?
import Emoji
letemoji=Emoji.violin // 🎻
TODO:
Support ExpressibleByStringLiteral
Add category, aliases and tags for all emojis.
List of all emojis for each category.
Find Emoji by tag or alias.
Support MacOS.
EmojiImage
Library for creating UIImage from Emoji.
Why would this be useful?
Designers like to use Emoji in the app interface, but the AppStore may reject the app if emojis are used as a prerendered images. [1]
From App Store Review Guidelines:
4.5.6 Apps may use Unicode characters that render as Apple emoji in their app and app metadata. Apple emoji may not be used on other platforms or embedded directly in your app binary.
To get around this limitation, you can generate Emoji in runtime using this library.
You can use Emoji as text, but it's not always convenient. Sometimes you need to use emojis as an avatar placeholder or make emojis grayscale.