Can I use multiple text containers with TextKit 2?

Asked on 2024-07-29

1 search

Yes, you can use multiple text containers with TextKit 2. This is supported across various frameworks including SwiftUI, UIKit, and AppKit. TextKit 2 provides advanced text editing experiences and supports rich text by using attributed strings, which means it can handle multiple text containers effectively.

For more detailed information on how to implement this, you can refer to the session Get started with Writing Tools at the 04:23 mark, which discusses controlling behavior and customizing text views.