- Notifications
You must be signed in to change notification settings - Fork74
A category on NSString to convert Emoji Cheat Sheet codes to their equivalent Unicode characters
License
diy/NSStringEmojize
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A category on NSString to turn codes fromEmoji Cheat Sheet into Unicode emoji characters.
In order to use NSString+Emojize, you'll want to add the entirety of theNSString+Emojize
directory to your project. To get started, simply:
#import"NSString+Emojize.h"
NSString *emojiString =@"This comment has an emoji :mushroom:";NSLog(@"%@", [emojiStringemojizedString]);
- (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 thatdoes not useAutomatic 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.
About
A category on NSString to convert Emoji Cheat Sheet codes to their equivalent Unicode characters
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors3
Uh oh!
There was an error while loading.Please reload this page.