Swiftpack.co - woxtu/NSString-RemoveEmoji as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by woxtu.
woxtu/NSString-RemoveEmoji 1.5.0
A category that extends for detecting and removing Emoji
⭐️ 236
🕓 41 weeks ago
iOS macOS watchOS tvOS
.package(url: "https://github.com/woxtu/NSString-RemoveEmoji.git", from: "1.5.0")

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.

GitHub

link
Stars: 236
Last commit: 41 weeks ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

41 weeks ago
  • Add new emojis in iOS 16/macOS 13
  • Remove Carthage and CocoaPods support

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics