Skip to content

oleander/Emojize

Repository files navigation

Emojize Status

Swift 3 emoji parser for String, NSAttributedString and NSMutableAttributedString. It replaces sub strings on the form ":emoji:" with its corresponding emoji character. The emoji lookup table is taken from github/gemoji.

Usage

import Emojize

let string = "This is a :car:"
string.emojified // => "This is a πŸš—"
NSMutableAttributedString(string: string).emojified.string // => "This is a πŸš—"
NSAttributedString(string: string).emojified.string // => "This is a πŸš—"

Install

Add pod 'Emojize' to your Podfile and run pod install.

About

πŸš— Swift 3 emoji parser for String, NSAttributedString and NSMutableAttributedString

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy