NSStringEmojize alternatives and similar libraries
Based on the "Text" category
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of NSStringEmojize or a related project?
A category on NSString to turn codes from Emoji Cheat Sheet into Unicode emoji characters.
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:
NSString *emojiString = @"This comment has an emoji :mushroom:"; NSLog(@"%@", [emojiString emojizedString]);
- (NSString *)emojizedString; + (NSString *)emojizedStringWithString:(NSString *)aString;
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.