LAST CHANCE: Save 50% on all my Swift books and bundles! >>

Swift Concurrency by Example

Join over 100,000 readers today

The only Swift concurrency book you need

Includes free updates for new Swift versions – click to read my update policy

Swift Concurrency by Example is the ultimate concurrency cookbook, containing almost 200 pages of tips, tricks, techniques, and more to help you make the most of Swift's powerful concurrency tools.


If you need example code, Swift Concurrency by Example is here to help: from basic concepts through to advanced comparisons, you'll find your answers here.


All parts of Swift's concurrency system are covered, including async/await, async let, tasks and task groups, continuations, actors, and more.


Anyone can read about individual concepts in isolation, but Swift Concurrency by Example compares each solution directly so you can see the pros and cons for yourself.


Alongside all the detailed conceptual explanations, you'll find hundreds of code samples providing hands-on solutions and examples.

What's in the book

Swift Concurrency by Example is the largest collection of tips, techniques, and solutions for Swift's concurrency tools, delivering almost 200 pages of instantly applicable solutions for common problems.

While reading, you'll learn all this and more:

  • When to use async/await and when async let works better
  • How to call the first async function in your project
  • Upgrading your code to concurrency using continuations
  • Creating custom async sequences and streams
  • Running work in parallel using tasks and task groups
  • Sleeping, suspending, and cancelling work
  • Actors and actor inference

This book is simply packed with tools, tips, and tricks to help you make the most of Swift's powerful concurrency tools, so if you want to maximize your learning and builds great apps with Swift there really is nothing better than Swift Concurrency by Example.

Download full table of contents

Download free sample

Unknown user

You are not logged in

Log in or create account

Link copied to your pasteboard.