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 titled "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 output from models and integrate it seamlessly into apps. You can check out the session here.
Additionally, for a more hands-on approach, the session "Code-along: Cook up a rich text experience in SwiftUI with AttributedString" provides a detailed walkthrough on building rich text experiences, although it focuses on SwiftUI. This session might still offer valuable insights into handling attributed strings. You can start with the TextEditor and AttributedString chapter.
These sessions should provide a good foundation for working with rich text in your chatbot application.

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.