Latest 1.0.1
Homepage https://github.com/inamiy/YIEmoji
License Beerware If we meet some day, and you think this stuff is worth it, you can buy me a beer in return.
Platforms ios 5.0, requires ARC
Authors

YIEmoji 1.0.1

NSString addition for iOS5+ Emoji.

Install via CocoaPods

pod 'YIEmoji'

To support iOS4, see tag 0.1 for more info.

Example

NSString* text = @"😄😊😃☺1⃣test2⃣☀☔☁⛄";

NSLog(@"hasEmoji = %d",); // YES
NSLog(@"trueLength = %d",); // 14
NSLog(@"emojiTrimmedString = %@",); // 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.

Latest podspec

{
    "name": "YIEmoji",
    "version": "1.0.1",
    "license": {
        "type": "Beerware",
        "text": "If we meet some day, and you think this stuff is worth it, you can buy me a beer in return."
    },
    "homepage": "https://github.com/inamiy/YIEmoji",
    "authors": {
        "Yasuhiro Inami": "[email protected]"
    },
    "summary": "NSString addition for iOS Emoji.",
    "source": {
        "git": "https://github.com/inamiy/YIEmoji.git",
        "tag": "1.0.1"
    },
    "source_files": "Classes/*.{h,m}",
    "resources": "Resources/YIEmoji.bundle",
    "requires_arc": true,
    "platforms": {
        "ios": "5.0"
    }
}

Pin It on Pinterest

Share This