Swift 6: What’s New and How to Migrate
What's new in Swift 6 and how do you migrate your projects and packages? Learn how to apply incremental migration and why you should update.
The Swift Concurrency Playbook
A FREE 5-day email course revealing the 5 biggest mistakes iOS developers make with async/await that lead to App Store rejections And migration projects taking months instead of days (even if you've been writing Swift for years).
5 lessons | 100% free | For iOS developers
Dive deep into Swift’s latest concurrency changes, covering async-await, actors, and more.
What's new in Swift 6 and how do you migrate your projects and packages? Learn how to apply incremental migration and why you should update.
Unlock the power of URLSession async/await for network requests. Perform API requests and decode JSON data without third-party frameworks.
Concurrency-safe global variables prevent you from running into data races, especially when you've enabled strict concurrency checking.
Unit testing async/await logic can be done by marking your unit test as asynchronous and using a new XCTest method.
Methods marked with @MainActor are not always executed on the main thread. It's essential to understand thread dispatching with actors.
The @preconcurrency attribute allows you to suppress Sendable-related warnings emitted from 3rd party libraries temporarily.
Detached tasks allow you to run code asynchronously, but you should be aware of the substantial consequences they introduce.
Task Groups allow you to run multiple tasks in parallel and await their results. Bundle the outcome together into a single collection.
AsyncSequence allows asynchronously iterating over values. Learn how to create custom implementations and when you should use them.
AsyncThrowingStream and AsyncStream allow you to rewrite existing closure based code to async-await overloading methods.
Tasks in Swift allow us to create an environment in which we can run async methods using await. Learn how to create and use tasks in Swift.
The nonisolated and isolated keywords allow you to control Actor isolation and provide access to immutable state within actors.