Extension of Swift's String to convert Emoji Cheat Sheet codes into their Unicode equivalent.
Swift Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Example
StringEmojize
.gitignore
LICENSE
README.md
StringEmojize.podspec

README.md

StringEmojize

####Extension of Swift's String to convert Emoji Cheat Sheet codes into their Unicode equivalent.

Getting Started

Simply add the StringEmojize folder at the root of this repo to your project. Swift doesn't require you to import the files (see below for CocoaPods).

var emojiCodeString = "This string has an Emoji :+1:"
println(emojiCodeString.emojizedString())

If you are installing with CocoaPods, you will need to import

import StringEmojize

Methods

public func emojizedString() -> String
public func emojizedStringWithString(text: String) -> String

Support

StringEmojize has only been tested on Xcode 6.1.1 with iOS 8, however any iOS device supporting Swift should be able to run it (but, that is untested).


License and Credits

License: See LICENSE.

Original idea from diy/NSStringEmojize for converting Objective-C NSString's to Emojis.