Is attributedstring missing any features of nsattributedstrings?
Asked on 12/21/2024
1 search
The question about whether AttributedString
is missing any features of NSAttributedString
is not directly addressed in the provided context. However, the context does mention various enhancements and features related to text attributes in different sessions.
For example, in the session "Create custom visual effects with SwiftUI," there is a mention of a new text attribute protocol introduced alongside the text renderer in iOS 18, which allows for custom attributes to be applied to text. This suggests that there are ongoing improvements and new capabilities being added to text handling in SwiftUI.
Additionally, the session "What’s new in AppKit" discusses new text highlighting features controlled by attributed string attributes, indicating that there are new capabilities being added to NSAttributedString
as well.
If you are interested in specific features or capabilities, it might be helpful to explore the sessions related to text improvements and attributes, such as:
- Create custom visual effects with SwiftUI (18:31)
- What’s new in AppKit (09:56)
- What’s new in UIKit (16:43)
These sessions might provide more insights into the current state and new features of text handling in Apple's frameworks.

Create custom visual effects with SwiftUI
Discover how to create stunning visual effects in SwiftUI. Learn to build unique scroll effects, rich color treatments, and custom transitions. We’ll also explore advanced graphic effects using Metal shaders and custom text rendering.

Get started with Dynamic Type
Dynamic Type lets people choose their preferred text size across the system and all of their apps. To help you get started supporting Dynamic Type, we’ll cover the fundamentals: How it works, how to find issues with scaling text in your app, and how to take practical steps using SwiftUI and UIKit to create a great Dynamic Type experience. We’ll also show how you can best use the Large Content Viewer to make navigation controls accessible to everyone.

What’s new in UIKit
Explore everything new in UIKit, including tab and document launch experiences, transitions, and text and input changes. We’ll also discuss better-than-ever interoperability between UIKit and SwiftUI animations and gestures, as well as general improvements throughout UIKit.