Implementing Genmoji in your app
Genmoji is an Apple Intelligence feature that is available system-wide and lets you create custom emoji based on a text description. Unlike traditional emoji, which are a standardized list of Unicode characters sent as plain text, Genmoji are rasterized bitmaps, which can't be represented as text. To support Genmoji, Apple introduced the NSAdaptiveImageGlyph API, which allows Genmoji to be used as though they are standard emoji.
To view Apple's WWDC video on Genmoji, see https://developer.apple.com/videos/play/wwdc2024/10220/?time=368.
You can view Apple Developer documentation on NSAdapativeImageGlyph at this link: https://developer.apple.com/documentation/uikit/nsadaptiveimageglyph.
To implement Genmoji in your project, you'll need to modify the text view in the Add New Journal Entry screen to support rich text and modify your project so that the rich text data from the text view can be stored and displayed...