• Stars
    star
    236
  • Rank 170,480 (Top 4 %)
  • Language
    Swift
  • License
    MIT License
  • Created over 10 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A category that extends for detecting and removing Emoji

NSString+RemoveEmoji

Swift Package Manager

A category on NSString that extends for detecting and removing Emoji.

BOOL containsEmoji = [@"✨Party✨ ✨Hard✨" containsEmoji];
NSString* stringByRemovingEmoji = [@"✨Party✨ ✨Hard✨" stringByRemovingEmoji];
let containsEmoji = "✨Party✨ ✨Hard✨".containsEmoji()
let stringByRemovingEmoji = "✨Party✨ ✨Hard✨".removingEmoji()

Installation

Swift Package Manager

.package(url: "https://github.com/woxtu/NSString-RemoveEmoji.git", from: "1.0.0")

License

Licensed under the MIT license.