Skip to content

noppefoxwolf/Zenmoji

Repository files navigation

Zenmoji

Zenmoji is a NSAdaptiveImageGlyph based custom emoji rendering.

Usage

import Zenmoji

let image = UIImage(resource: .blobcat)
let adaptiveImageContent = AdaptiveImageContent(image: image)
let adaptiveImageGlyph = NSAdaptiveImageGlyph(imageContent: adaptiveImageContent)
let attributedText = NSAttributedString(adaptiveImageGlyph: adaptiveImageGlyph)
textView.insertAttributedText(attributedText)

License

Zenmoji is available under the MIT license. See the LICENSE file for more info.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages