Skip to content
Swift Dev Notes
  • Home
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

April 16, 2023
Daniel Gallego Architecture 2

iOS App with Clean Architecture – Example

In our previous post, we defined that we would structure our project by combining a vertical split by features and a horizontal split of each feature by layers, following the…

Read More

April 15, 2023
Daniel Gallego Architecture 1

iOS App with Clean Architecture

Making important decisions about the architecture and structure of a new project is crucial. It's advisable to adopt a consistent approach, rather than allowing each screen or feature to be…

Read More

Posts pagination

1 2

Search

Recent Posts

  • Actors
  • Task group
  • Bridge Async Await, Delegates, Combine and Completion blocks
  • Async Sequence
  • Async Await Cancellation in Swift

Categories

  • Architecture
  • Combine
  • concurrency
  • Foundation
  • SwiftUI

Daniel Gallego Peralta

daniel.ios.dgp@gmail.com

  • LinkedIn

Proudly powered by WordPress | Theme: WPKites by Spicethemes