Hey iOS developer! ๐
In this issue letโs explore collection of articles about the Swift Concurrency.
Concurrency in Swift: A Detailed Guide
Thereโs no doubt that Swift Concurrency allows developers to write efficient and readable asynchronous code. However, the benefits of adopting it in existing iOS codebases that use Grand Central Dispatch (GCD) arenโt always immediately clear.
In this detailed guide, Gaurav Harkhani not only explains the key components of Swift Concurrency, but also provides comparison with the GCD to help us understand why to migrate when possible.
Read on Medium
Swift Concurrency by Example
Swift Concurrency isnโt just async/await
- it also is Actors
, Tasks
and much more. Itโs a broad topic that canโt be covered in just few articles.
If youโre ready to dive deeper, I highly recommend this best-in-class free course by Paul Hudson.
Read on Hacking with Swift
Incremental Adoption
Imagine youโre convinced and ready to migrate - but where to start, and how should you do it?
Check out this official documentation that explains how to gradually adopt Swift 6. Swift offers various APIs to ease transition to concurrency, such as wrapping callback-based functions using continuations
or maintaining backward compatibility with @preconcurrency
.
Read on Swift.org
Advanced Swift Concurrency: Understanding Tasks (Paid)
I usually feature free articles in my newsletter, but this one is an exception - and for good reason! Jacob Bartlettโs deep dive into Task
is too good to be missed.
Read on Jacobโs Tech Tavern
Swift 6.2: A first look at how itโs changing Concurrency
Although Swift 6.2. hasnโt been released yet, Antoine van der Lee takes an early look at the potential changes and how they might impact Swift Concurrency.
Read on Antoine van der Lee blog
If you found this Curated iOS issue useful, Iโd be happy if you:
Hit the Like button.
Subscribe, if you havenโt already!
Connect with me on LinkedIn.
Until next time!
Artjoms
The book and video course (with sample projects) by Donny Wals are pretty good too. (He also has some blog posts around it)