Modern Concurrency in Swift
Learn everything you need to create safe, performant and predictable asynchronous apps by leveraging the new modern concurrency features introduced in Swift 5.5, such as async/await, tasks, actors and more. By Marin Todorov.
Who is this for?
This book is for intermediate Swift developers who are familiar with writing asynchronous applications, but want to leverage the new concurrency features in Swift 5.5 to write safer and more predictable asynchronous apps.
- Using async/await
- Task Groups
- Custom Asynchronous Sequences
- Testing Asynchronous Code
For years, writing powerful and safe concurrent apps with Swift could easily turn into a daunting task, full of race conditions and unexplained crashes hidden in a massive nesting of callback closures.
In Swift 5.5, Apple introduced a new concurrency model featuring the async/await syntax,...more
Before You Begin
This section tells you a few things you need to know before you get started, such as what you’ll need for hardware and software, where to find the project files for this book, and more.