Go offline with the Player FM app!
Two of our favorite WWDC25 API's
Manage episode 494166666 series 3306446
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")
.foregroundColor(Color.white)
.bold()
}
)
Links
Code-Along: Cook up a rich text experience in SwiftUI with AttributedString
Explore new advances in app Intents
Podcast Episode on App Intents
Share your thoughts with us
https://compileswift.com/contact
Become a Patreon member and help this Podcast survive
https://www.patreon.com/compileswift
Follow us on Mastodon
https://iosdev.space/@Compileswift
- flanker
- Jay Wilson
- Adam Wulf
- bitSpectre
190 episodes
Manage episode 494166666 series 3306446
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")
.foregroundColor(Color.white)
.bold()
}
)
Links
Code-Along: Cook up a rich text experience in SwiftUI with AttributedString
Explore new advances in app Intents
Podcast Episode on App Intents
Share your thoughts with us
https://compileswift.com/contact
Become a Patreon member and help this Podcast survive
https://www.patreon.com/compileswift
Follow us on Mastodon
https://iosdev.space/@Compileswift
- flanker
- Jay Wilson
- Adam Wulf
- bitSpectre
190 episodes
All episodes
×Welcome to Player FM!
Player FM is scanning the web for high-quality podcasts for you to enjoy right now. It's the best podcast app and works on Android, iPhone, and the web. Signup to sync subscriptions across devices.