Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/inamiy/yiemoji
NSString addition for iOS Emoji.
https://github.com/inamiy/yiemoji
Last synced: 29 days ago
JSON representation
NSString addition for iOS Emoji.
- Host: GitHub
- URL: https://github.com/inamiy/yiemoji
- Owner: inamiy
- Created: 2012-04-03T08:09:19.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-08-14T03:30:05.000Z (about 11 years ago)
- Last Synced: 2024-10-03T22:01:36.752Z (about 1 month ago)
- Language: Objective-C
- Homepage:
- Size: 125 KB
- Stars: 23
- Watchers: 5
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
YIEmoji 1.0.1
=============NSString addition for iOS5+ Emoji.
Install via [CocoaPods](http://cocoapods.org/)
----------```
pod 'YIEmoji'
```To support iOS4, see tag `0.1` for more info.
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 compatibilityAcknowledgement
---------------- [punchdrunker/iOSEmoji](https://github.com/punchdrunker/iOSEmoji) (Japanese docs)
License
-------
`YIEmoji` is available under the [Beerware](http://en.wikipedia.org/wiki/Beerware) license.If we meet some day, and you think this stuff is worth it, you can buy me a beer in return.