Latest 0.1.3
Homepage https://github.com/matiasvillaverde/emojimap
License MIT
Platforms ios 10.0
Authors

Emoji Map 😎

Map Strings to emojis

Swift Version
License
Platform
PRs Welcome

Emoji Map is a lightweight library to map Strings to Emojis, similar to the prediction of iOS Keyboard. Currently working for English, Spanish, German and French.

👩‍🚀 Features

  • [x] Transform String into an Emoji
  • [x] Get several Emoji matches for each word
  • [x] Input paragraphs and get an array of Emojis

👩‍🎓 Requirements

  • iOS 10.0+
  • Xcode 9+

🔧 Installation

CocoaPods

You can use CocoaPods to install EmojiMap by adding it to your Podfile:

platform :ios, '10.0'
use_frameworks!
pod 'Emojimap'

Manually

  1. Download and drop EmojiMap.swift in your project.
  2. Download and drop emojis-es.json, emojis-en.json, emojis-fr.json, emojis-de.json in your project.
  3. Congratulations!

🚀 Usage example

import Emojimap

let mapping = EmojiMap()
for match in mapping.getMatchesFor("Dog Elephant Apple") {
    print(match.emoji)
}

// "🐶 🐾 🐩 🐘 🍎 📱"

🤗 Contribute

We would love you to contribute to EmojiMap, check the LICENSE file for more info.

🙌 Credits

Emoji keyword library is based on emojilib.

📞 Meta

Matias Villaverde – @matiasverdee[email protected]

Distributed under the MIT license. See LICENSE for more information.

https://github.com/matiasvillaverde/emojimap

Latest podspec

{
    "name": "Emojimap",
    "version": "0.1.3",
    "summary": "Lightweight library to map Strings to Emojis.",
    "description": "This fantastic library allow you to map strings to emojis, similar to the iOS keyboard prediction. Currently support English, Spanish, German and French.",
    "homepage": "https://github.com/matiasvillaverde/emojimap",
    "license": {
        "type": "MIT",
        "file": "LICENSE.md"
    },
    "authors": {
        "Matias": "[email protected]"
    },
    "source": {
        "git": "https://github.com/matiasvillaverde/emojimap.git",
        "tag": "0.1.3"
    },
    "platforms": {
        "ios": "10.0"
    },
    "source_files": "Emojimap/EmojiMap/*{swift}",
    "resource_bundles": {
        "Emojimap": [
            "Emojimap/EmojiMap/EmojiDataBase.bundle/*{json}"
        ]
    },
    "pushed_with_swift_version": "4.0"
}

Pin It on Pinterest

Share This