GE-N / emoji-swift

String extension converting to and from emoji character and Emoji Cheat Sheet string

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

emoji-swift

TravisCI codecov.io Platform License Version Carthage

String extension converting to and from emoji character and Emoji Cheat Sheet string.

Example Usage

import Emoji

":heart_eyes: :heart: :beer:".emojiUnescapedString
"🐶🐱🐷".emojiEscapedString

Methods

extension String {
    var emojiEscapedString: String
    var emojiUnescapedString: String
    static var emojiDictionary : [String:String]
}

Install

pod 'Emoji-swift'

Or, just copy Emoji.swift and String+Emoji.swift into your project.

About

String extension converting to and from emoji character and Emoji Cheat Sheet string

License:MIT License


Languages

Language:Swift 97.8%Language:Ruby 1.2%Language:Objective-C 0.9%