Empower Apps cover image

Behind the Scenes of SwiftUI with Aviel Gross

Empower Apps

Combining vs Concurrency - What Is the Difference?

5min Snip

00:00
Play full episode
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

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode