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: 221

Dependencies

Used By

Total: 0

Releases

- 2019-05-10 14:23:45

  • Update to Swift 5

- 2018-11-14 17:36:54

  • Add new emojis in iOS 12/macOS 10.14
  • Fix broken containsEmoji #14

- 2018-04-05 18:25:06

  • Update to Swift 4.1

Thanks @alessandro-martin for contributing!

- 2018-01-11 18:19:45

  • Add new emojis in iOS 11/macOS 10.13

- 2017-03-11 18:33:11

  • Add new emojis in iOS 10/macOS 10.12

- 2017-03-11 18:31:42

  • Add tvOS/watchOS support