Swift Package Index

NSString_RemoveEmoji

https://github.com/woxtu/NSString-RemoveEmoji.git

A category that extends for detecting and removing Emoji


Compatibility

  • 1.2.0 and master
    5.3
    5.2
    5.1
    5.0
    4.2
  • 1.2.0 and master
    iOS
    macOS(Intel)
    macOS(ARM)
    Linux
    tvOS
    watchOS

NSString+RemoveEmoji

Carthage compatible CocoaPods 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

Carthage

github "woxtu/NSString-RemoveEmoji" ~> 1.0

CocoaPods

pod 'NSString+RemoveEmoji', '~> 1.0'

Swift Package Manager

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

License

Licensed under the MIT license.