INCLUDES FREE UPDATES FOR SWIFT 6 AND BEYOND! Click here for full details.
Swift's powerful and flexible concurrency system includes async/await, tasks, actors, and more, but if you want to unleash its full power it's important you understand all the available choices and what sets them apart.
That's where Swift Concurrency by Example comes in: written as a series of tutorials, Swift Concurrency by Example guides you through dozens of common coding problems with hands-on solutions so you can spend less time wondering how to accomplish tasks and more time building your apps.
What's in the book?
Dozens of common problems are solved in the book, including:
- 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
Download a free sample!
Prefer to read for free?
This is the download edition of Swift Concurrency by Example that gives you the PDF and ePub for offline reading, but if you'd rather read for free online you can find the book online here: free Swift concurrency tutorials.
The Hacking with Swift guarantee
We want everyone to be happy with all the Hacking with Swift courses they buy, both now and in the future, which is why all our books come with free lifetime Swift updates and free bonus content with our Frequent Flyer Club, and we also encourage folks to join our Slack community to help solve problems.
However, if you aren't happy with a course you bought from us, we offer a 30-day No Questions Asked refund policy. This applies to all books and video courses purchased through Gumroad, which is our primary distributor. So, if you aren't happy with your purchase, if you changed your mind, or if you just bought the wrong thing by accident, we can refund your purchase up to 30 days after it was made.
Any other questions?
You can email me at firstname.lastname@example.org or tweet me @twostraws, and I'll do my best to help.