Go to file
woxtu bfc5d77dc5 Bump version 2023-01-23 21:43:12 +09:00
.github/workflows Rename the test action 2022-07-21 22:01:07 +09:00
NSString+RemoveEmoji.xcodeproj Introduce SwiftFormat 2020-11-23 12:41:48 +09:00
Scripts Update to Swift 5 2019-04-27 01:12:28 +09:00
Sources/NSString_RemoveEmoji Add new emojis 2023-01-23 20:39:59 +09:00
Tests/NSString_RemoveEmojiTests Add new emojis 2023-01-23 20:39:59 +09:00
.gitignore Rewrite in Swift 3 2017-01-07 23:01:40 +09:00
LICENSE-MIT Initial commit 2014-07-27 15:52:48 +09:00
NSString+RemoveEmoji.podspec Bump version 2023-01-23 21:43:12 +09:00
Package.swift Format the manifest file 2022-07-21 22:01:28 +09:00
README.md Mark some support as deprecated 2023-01-23 21:40:04 +09:00

README.md

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

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.