TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Feb 2015 |
SPMSupports SPM | ✗ |
Maintained by Kyle Frost.
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
func emojizedString() -> String
func emojizedStringWithString(text: String) -> String
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: See LICENSE.
Original idea from diy/NSStringEmojize for converting Objective-C NSString's to Emojis.