Swiftpack.co - Package - woxtu/NSString-RemoveEmoji

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.

Github

link
Stars: 199
Help us keep the lights on

Dependencies

Used By

Total: 0

Releases

1.0.6 - Apr 5, 2018

Update to Swift 4.1

Thanks @alessandro-martin for contributing!

1.0.5 - Jan 11, 2018

Add new emojis in iOS 11/macOS 10.13

1.0.3 - Mar 11, 2017

Add new emojis in iOS 10/macOS 10.12

1.0.4 - Mar 11, 2017

Add tvOS/watchOS support