Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A category on NSString to convert Emoji Cheat Sheet codes to their equivalent Unicode characters

License

NotificationsYou must be signed in to change notification settings

diy/NSStringEmojize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Getting Started

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]);

Methods

- (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.

ARC

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

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp