Latest 6.0.9
Homepage https://github.com/oleander/Emojize
License MIT
Platforms osx 10.10
Dependencies SwiftyJSON, Files, FootlessParser
Authors

Emojize Status

Swift 3 emoji parser for String, NSAttributedString and NSMutableAttributedString. It replaces sub strings on the form ":emoji:" with its corresponding emoji character. The emoji lookup table is taken from github/gemoji.

Usage

import Emojize

let string = "This is a :car:"
string.emojified // => "This is a 🚗"
NSMutableAttributedString(string: string).emojified.string // => "This is a 🚗"
NSAttributedString(string: string).emojified.string // => "This is a 🚗"

Install

Add pod 'Emojize' to your Podfile and run pod install.

Latest podspec

{
    "name": "Emojize",
    "version": "6.0.9",
    "summary": "Swift 3 emoji parser for String, NSAttributedString and NSMutableAttributedString.",
    "description": "Swift 3 emoji parser for String, NSAttributedString and NSMutableAttributedString. It replaces sub strings on the form :emoji: with its corresponding emoji character. The emoji lookup table is taken from github/gemoji.",
    "homepage": "https://github.com/oleander/Emojize",
    "license": "MIT",
    "authors": {
        "Linus Oleander": "[email protected]"
    },
    "platforms": {
        "osx": "10.10"
    },
    "source": {
        "git": "https://github.com/oleander/Emojize.git",
        "tag": "6.0.9"
    },
    "resources": [
        "Resources/emoji.json"
    ],
    "source_files": "Emojize/**/*.swift",
    "dependencies": {
        "SwiftyJSON": [],
        "Files": [],
        "FootlessParser": []
    },
    "pushed_with_swift_version": "3.1"
}

Pin It on Pinterest

Share This