![]() |
||
---|---|---|
.github/workflows | ||
NSString+RemoveEmoji.xcodeproj | ||
Scripts | ||
Sources/NSString_RemoveEmoji | ||
Tests/NSString_RemoveEmojiTests | ||
.gitignore | ||
LICENSE-MIT | ||
NSString+RemoveEmoji.podspec | ||
Package.swift | ||
README.md |
README.md
NSString+RemoveEmoji
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
Deprecated.
github "woxtu/NSString-RemoveEmoji" ~> 1.0
CocoaPods
Deprecated.
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.