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:
- Develop for Shortcuts and Spotlight with App Intents (00:03:18)
- Code-along: Cook up a rich text experience in SwiftUI with AttributedString (00:01:15)
These sessions will provide you with a comprehensive understanding of how to implement rich text features in your app.

Develop for Shortcuts and Spotlight with App Intents
Learn about how building App Intents that make actions available and work best with the new features in Shortcuts and Spotlight on Mac. We’ll show you how your actions combine in powerful ways with the new Apple Intelligence actions available in the Shortcuts app. We’ll deep-dive into how the new “Use Model” action works, and how it interacts with your app’s entities. And we’ll discuss how to use the App Intents APIs to make your actions available in Spotlight.

Code-along: Cook up a rich text experience in SwiftUI with AttributedString
Learn how to build a rich text experience with SwiftUI’s TextEditor API and AttributedString. Discover how you can enable rich text editing, build custom controls that manipulate the contents of your editor, and customize the formatting options available. Explore advanced capabilities of AttributedString that help you craft the best text editing experiences.

Build a spatial drawing app with RealityKit
Harness the power of RealityKit through the process of building a spatial drawing app. As you create an eye-catching spatial experience that integrates RealityKit with ARKit and SwiftUI, you’ll explore how resources work in RealityKit and how to use features like low-level mesh and texture APIs to achieve fast updates of the users’ brush strokes.