Practical solutions to problems with Swift Concurrency
Swift
1,327
76 commits
updated Aug 22, 2026
Originally created by @mattmassicotte. Now maintained by @dimasusername.
Practical solutions to problems with Swift Concurrency
Swift Concurrency can be really hard to use. I thought it could be handy to document and share solutions and hazards you might face along the way. I am absolutely not saying this is comprehensive, or that the solutions presented are great. I'm learning too. Contributions are very welcome, especially for problems! ~ Matt
[!WARNING] The code in this repo is not (yet) updated for Swift 6.0. On top of changes to the language, which were substantial, original author's (Matt) general understandings/opinions have changed as well. I'm absolutely interested in your feedback/issue reports! But, please keep all this in mind when looking through the repo.
Quick definitions for the hazards referenced throughout the recipes:
I would love to hear from you! Issues or pull requests work great.
I prefer collaboration, and would love to find ways to work together if you have a similar project.
I prefer indentation with tabs for improved accessibility. But, I'd rather you use the system you want and make a PR than hesitate because of whitespace.
By participating in this project you agree to abide by the Contributor Code of Conduct.
692 followers · starred Jan 2024
478 followers · starred Mar 2024
1,011 followers · starred Dec 2025
453 followers · starred Mar 2024
Practical solutions to problems with Swift Concurrency
Swift
1,327
76 commits
updated Aug 22, 2026
Originally created by @mattmassicotte. Now maintained by @dimasusername.
Practical solutions to problems with Swift Concurrency
Swift Concurrency can be really hard to use. I thought it could be handy to document and share solutions and hazards you might face along the way. I am absolutely not saying this is comprehensive, or that the solutions presented are great. I'm learning too. Contributions are very welcome, especially for problems! ~ Matt
[!WARNING] The code in this repo is not (yet) updated for Swift 6.0. On top of changes to the language, which were substantial, original author's (Matt) general understandings/opinions have changed as well. I'm absolutely interested in your feedback/issue reports! But, please keep all this in mind when looking through the repo.
Quick definitions for the hazards referenced throughout the recipes:
I would love to hear from you! Issues or pull requests work great.
I prefer collaboration, and would love to find ways to work together if you have a similar project.
I prefer indentation with tabs for improved accessibility. But, I'd rather you use the system you want and make a PR than hesitate because of whitespace.
By participating in this project you agree to abide by the Contributor Code of Conduct.
692 followers · starred Jan 2024
478 followers · starred Mar 2024
1,011 followers · starred Dec 2025
453 followers · starred Mar 2024