Empower Apps cover image

Behind the Scenes of SwiftUI with Aviel Gross

Empower Apps

00:00

Combining vs Concurrency - What Is the Difference?

Swift is using both combined and concurrency in different places, actually in the same pipeline. We had to do some crazy things to get performance on this horrible device. To get that to work seamlessly, probably not 60 frames per second, but maybe 30 frames per second,. And so what we do is we use combined to limit the number of concurrent tasks that we have or download in an image. When we are done downloading that image, we scale it down to 25%. Then on the UI, and we cache that. And then on theUI, we are showing you, it's like almost blurred image while we are fetching the full resolution photo. There is some crazy logic to do

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