u/pitt500in r/swift • Recommends
How to download images in parallel with Swift Concurrency
#asynclet#swiftconcurrency#async-await
13K subscribers • 12 videos on Hallway
Intermediate. Assumes working knowledge.
3.1K views5 years ago1 recommendation
Mobile developmentProgramming languagesSwiftConcurrency and parallelismiOS and SwiftUI
Pedro Rojas explains how to use async let to download multiple images in parallel using Swift concurrency.
Hello guys, Welcome to another video! Today we will see how to download images in parallel using the new swift concurrency format. For that, we will see why for some cases using await is not efficient, and instead, we will use async let. Content: - Intro - Using await for many requests - Refactoring with async let ------ Source code showed in the video: github.com/pitt500/Async-Let ------ Resources: * Async Let proposal: github.com/apple/swift-evolution/blob/main/proposals/0317-as… * swift.org: docs.swift.org/swift-book/LanguageGuide/Concurrency.html * Structured concurrency (wwdc21): developer.apple.com/videos/play/wwdc2021/10134/ ------ Other videos in the channel: * Async/await: youtu.be/esmf26aGz4s * Actors: youtu.be/8jvtHCXJ4Ow ----- Don't forget to subscribe to the channel, like it, and follow me on social media: Twitter: twitter.com/swiftandtips twitter.com/pitt500 Finally, ask me for a video you would like to see next 😄! Credits: - Music by Wataboi from pixabay.com/ - Video edited with LumaFusionWhat people say. Recommended as a practical explanation of parallel execution using async let in Swift.
u/pitt500in r/swift • Recommends