
← Compile Swift Podcast13. Juli 2025 · 23 Min.
Two of our favorite WWDC25 API's
Two of our favorite WWDC25 API's
Peter and Geoff dive into their favorite WWDC25 APIs. Peter explores the new attributed text editing features in SwiftUI, while Geoff breaks down interactive snippets and updates to App Intents. A dev-focused episode packed with practical insights and examples.
AttributedString Code Snippet
Button(
action: {
resumeContent.transformAttributes( in: &selectedText ) { container in
let currentFont = container.font ?? .default
let resolved = currentFont.resolve(in: fontResolutionContext)
container.font = currentFont.bold(!resolved.isBold)
}
},
label: {
Text("B")