Загрузка...

WWDC25: Code-along: Cook up a rich text experience in SwiftUI with AttributedString | Apple

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.

Explore related documentation, sample code, and more:
Character: https://developer.apple.com/documentation/Swift/Character
AttributedTextSelection: https://developer.apple.com/documentation/SwiftUI/AttributedTextSelection
AttributedTextFormatting: https://developer.apple.com/documentation/SwiftUI/AttributedTextFormatting
Building rich SwiftUI text experiences: https://developer.apple.com/documentation/SwiftUI/building-rich-swiftui-text-experiences
Enhance your app’s multilingual experience: https://developer.apple.com/videos/play/wwdc2025/222
What's new in Foundation: https://developer.apple.com/videos/play/wwdc2021/10109
Get it right (to left): https://developer.apple.com/videos/play/wwdc2022/10107

00:00 - Introduction
01:15 - TextEditor and AttributedString
05:36 - Build custom controls
22:02 - Define your text format
34:08 - Next steps

More Apple Developer resources:
Video sessions: https://apple.co/VideoSessions
Documentation: https://apple.co/DeveloperDocs
Forums: https://apple.co/DeveloperForums
App: https://apple.co/DeveloperApp

Видео WWDC25: Code-along: Cook up a rich text experience in SwiftUI with AttributedString | Apple канала Apple Developer
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки

На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.

О CookiesНапомнить позжеПринять