I want to develop an Chatbot that will have very rich text using NSAttributedString UIKit. Find appropriate WWDC video

Asked on 06/16/2025

1 search

To develop a chatbot with rich text using NSAttributedString in UIKit, you might find the session "Develop for Shortcuts and Spotlight with App Intents" from WWDC 2025 useful. This session discusses how attributed strings can be used to handle rich text content seamlessly in apps. Specifically, it highlights the importance of supporting attributed string input to connect the output from models into your app without losing formatting.

Additionally, the session "Code-along: Cook up a rich text experience in SwiftUI with AttributedString" provides a detailed walkthrough on building rich text experiences using SwiftUI, which might offer insights that can be adapted for UIKit. This session covers upgrading text editors to support rich text and creating custom controls for text formatting.

For more specific guidance on using NSAttributedString in UIKit, you might want to explore the "What's New in Foundation" session, which is recommended in the context for learning more about supporting attributed strings.

Here are the relevant sessions you might want to check out:

These sessions will provide you with a comprehensive understanding of how to implement rich text features in your app.