YIEmoji 1.0.1

YIEmoji 1.0.1

TestsTested βœ—
LangLanguage Obj-CObjective C
License Custom
ReleasedLast Release Dec 2014

Maintained by Yasuhiro Inami.



YIEmoji 1.0.1

  • By
  • Yasuhiro Inami

YIEmoji 1.0.1

NSString addition for iOS5+ Emoji.

Example

NSString* text = @"πŸ˜„πŸ˜ŠπŸ˜ƒβ˜Ί1⃣test2βƒ£β˜€β˜”β˜β›„";

NSLog(@"hasEmoji = %d",[text hasEmoji]); // YES
NSLog(@"trueLength = %d",[text emojiContainedTrueLength]); // 14
NSLog(@"emojiTrimmedString = %@",[text stringByTrimmingEmojis]); // test

TODO

  • Add unit test
  • Add OSX compatibility

Acknowledgement

License

YIEmoji is available under the Beerware license.

If we meet some day, and you think this stuff is worth it, you can buy me a beer in return.