Am interested in SwiftUI only, no Appkit. What enhancements were made to textfield functionality?
Asked on 2026-06-17
1 search
For SwiftUI-only text field enhancements, the main new capability mentioned was:
- Text suggestions for any
TextField
You can now add suggestions to a text field, and they appear as a dropdown menu. When a suggestion is chosen, the text field updates with that completion.
Related SwiftUI text-editing improvements in the same area also included:
- Programmatic text selection control in text editing controls
- Programmatic focus control for search fields
If you want, I can also separate out just the TextField-specific changes from broader SwiftUI text-editing updates.

Platforms State of the Union
Discover the newest advancements on Apple platforms.

What’s new in SwiftUI
Learn how you can use SwiftUI to build great apps for any Apple platform. Explore a fresh new look and feel for tabs and documents on iPadOS. Improve your window management with new windowing APIs, and gain more control over immersive spaces and volumes in your visionOS apps. We’ll also take you through other exciting refinements that help you make expressive charts, customize and layout text, and so much more.

Elevate your app’s text experience with TextKit
Discover how to combine the convenience of built-in text views with the control of TextKit. We’ll show you how new APIs make it easy to extend UITextView and NSTextView with custom behaviors like line numbers and collapsible sections. We’ll also explore the TextKit architecture and walk through new caching and reuse policies for text attachments. To get the most out of this session, watch “Meet TextKit 2” from WWDC21 and “What’s New in TextKit and text views” from WWDC22.
