Skip to content


Subversion checkout URL

You can clone with
Download ZIP
A category on NSString to convert Emoji Cheat Sheet codes to their equivalent Unicode characters
Objective-C Ruby
Branch: master
Fetching latest commit...
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
Example Minor clean-up
NSStringEmojize Minor clean-up
.gitignore Initial Commit Initial Commit
NSStringEmojize.podspec version bump podspec Cleaned up readme, tests, and example


A category on NSString to turn codes from Emoji Cheat Sheet into Unicode emoji characters.

Getting Started

In order to use NSString+Emojize, you'll want to add the entirety of the NSString+Emojize directory to your project. To get started, simply:

#import "NSString+Emojize.h"
NSString *emojiString = @"This comment has an emoji :mushroom:";
NSLog(@"%@", [emojiString emojizedString]);


- (NSString *)emojizedString;
+ (NSString *)emojizedStringWithString:(NSString *)aString;

iOS Support

NSString+Emojize is tested on iOS 5 and up. Older versions of iOS may work but are not currently supported.


NSString+Emojize uses ARC. If you are including NSString+Emojize in a project that does not use Automatic Reference Counting (ARC), you will need to set the -fobjc-arc compiler flag on all of the NSString+Emojize source files. To do this in Xcode, go to your active target and select the "Build Phases" tab. Now select all NSString+Emojize source files, press Enter, insert -fobjc-arc and then "Done" to enable ARC for NSString+Emojize.

Something went wrong with that request. Please try again.