Skip to content

berlininsomniac/NSStringEmojiCategory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NSStringEmojiExtension

A category on NSString that can find all ranges of emojis in a string.

For a Swift version see https://github.com/berlininsomniac/StringEmojiExtension_swift

Originally developed for the Wavy app (https://wavy-app.com) to increase the font size for messages that contained only emojis.

The category allows for single-method checking wether the string contains only emojis, offers ways to find the ranges within an NSString that consist solely of emojis and allows to strip emojis from a string.

Used this list when creating it: http://www.unicode.org/Public/emoji/1.0//emoji-data.txt

Enjoy.

Ben Salanki

  • people made me a cynic

About

A category on NSString that can find all ranges of emojis in a string.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published