February 11, 2024 Daniel Gallego concurrency Actors Actors are one of the new features of Concurrency in Swift, and their main purpose is to solve one of the most common problems when dealing with concurrent operations: mutating… Read More
February 9, 2024 Daniel Gallego concurrency Task group The Task Group is a part of the new modern concurrency framework, and it allows us to run multiple asynchronous operations in parallel. In this previous article, we explored how… Read More
December 27, 2023 Daniel Gallego Combine, concurrency Bridge Async Await, Delegates, Combine and Completion blocks Async await introduces a simpler approach to concurrency, so even in ongoing projects, it's a good idea to incorporate async await syntax. However, instead of adding async await throughout the… Read More
December 18, 2023 Daniel Gallego concurrency Async Sequence Another great feature new modern concurrency is offering us is async sequences. Async sequence is similar to the regular sequence types we have in Swift but adds asynchronous code. We… Read More
November 15, 2023 Daniel Gallego concurrency Async Await Cancellation in Swift In this post, we are going to explore cancellation when working swift async await, starting from basic examples, which are sufficient most of the time, to more complicated cases when… Read More
November 4, 2023 Daniel Gallego concurrency, SwiftUI Async await: Update SwiftUI view In this post, we are going to showcase some common examples of working with async await and update a SwiftUI view. Let's consider a scenario where we need to perform… Read More
October 25, 2023 Daniel Gallego concurrency Async await in Swift We can use async await in Swift for asynchronous programming. This language feature was introduced in Swift 5.5 and allows developers to write asynchronous code in a more synchronous-like way.… Read More