❤️ Support my app ❤️
- Push Hero - pure Swift native macOS application to test push notifications
- PastePal - Pasteboard, note and shortcut manager
- Frame recorder - Recorder gif and video with frame
- Other apps
❤️❤️😇😍🤘❤️❤️
Emoji in Swift. For reference, go to https://github.com/onmyway133/emoji
- Support emoji sequences
- Handle skin tones, marks, genders, variation selectors
- Support new iOS emojis
Smile.list()
emojiList
emojiCategories
Smile.isEmoji(character: "🎉") // true
Smile.containsEmoji(string: "🎈 and 🎁") // true
XCTAssertEqual(Smile.emoji(unicodeValues: [0x1F47B]), "👻")
XCTAssertEqual(Smile.emoji(unicodeValues: [0x0001F468, 0x200D, 0x2708]), "👨✈")
Smile.unmodify(emoji: "👨🏿") // 👨
Smile.name(emoji: "🇳🇴") // ["REGIONAL INDICATOR SYMBOL LETTER N", "REGIONAL INDICATOR SYMBOL LETTER O"])
Smile.emojis(keywords: ["GRINNING"]) // 😁, 😸
Smile.emoji(countryCode: "no") // 🇳🇴
Emoji data is from https://github.com/github/gemoji/blob/master/db/emoji.json
Smile.emoji(alias: "japanese_castle") // 🏯
Smile.alias(emoji: "🏯") // japanese_castle
Smile.replaceAlias(string: ":santa: is coming to :european_castle:") // 🎅 is coming to 🏰
Emoji data is from https://github.com/github/gemoji/blob/master/db/Category-Emoji.json
Smile.category(emoji: "😁") // people
Smile.extractEmojis(string: "Find 🔑and🔎") // 🔑🔎
Smile.removeEmojis(string: "Find 🔑and🔎") // Find and
Smile.assemble(emojis: ["👨", "🏫") // 👨🏫
Smile.assemble(emojis: ["👨", "👩", "👧", "👦"] // 👨👩👧👦
Smile.disassemble(emoji: "👨🏫") // [👨, 🏫]
Update emoji list by running
node parser.js
Smile is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'Smile'
Smile is also available through Carthage. To install just write into your Cartfile:
github "onmyway133/Smile"
Khoa Pham, onmyway133@gmail.com
We would love you to contribute to Smile, check the CONTRIBUTING file for more info.
Smile is available under the MIT license. See the LICENSE file for more info.