Swift by Sundell cover image

122: “Swift concurrency in practice”, with special guest Ben Scheirman

Swift by Sundell

00:00

SwiftUI Previews

I want to use the majority of my app in a preview if I can, and that requires you to set up quite a lot of infrastructure to make this work. And but I think that the Xcode preview, especially, as compile times get larger when you're working on a bigger project, it's just like this feedback cycle should be really rapid. You know, if you look at people that do modern web development these days, it's all about hot reloading. And I really want that for iOS. But being able to run this within Xcode, stubbing things that you don't need is super powerful. In particular, I think animations behave slightly differently in SwiftUI previews.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app