Latest 1.1.0
Homepage https://github.com/woxtu/NSString-RemoveEmoji
License MIT
Platforms ios 8.0, osx 10.10, tvos 9.0, watchos 2.0
Authors

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.

Latest podspec

{
    "name": "NSString+RemoveEmoji",
    "version": "1.1.0",
    "summary": "A category that extends for detecting and removing Emoji.",
    "homepage": "https://github.com/woxtu/NSString-RemoveEmoji",
    "license": {
        "type": "MIT",
        "file": "LICENSE-MIT"
    },
    "authors": {
        "woxtu": "[email protected]"
    },
    "swift_versions": "5.0",
    "platforms": {
        "ios": "8.0",
        "osx": "10.10",
        "tvos": "9.0",
        "watchos": "2.0"
    },
    "source": {
        "git": "https://github.com/woxtu/NSString-RemoveEmoji.git",
        "tag": "1.1.0"
    },
    "source_files": "Sources/**/*.swift"
}

Pin It on Pinterest

Share This