出版时间:2023.2
官网链接:RayWenderlich
下载地址:百度网盘(PDF+EPUB)
内容简介:
Up to date for Swift 5.8, iOS 16, Xcode 14
Master Swift’s modern concurrency model!
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, to let you write asynchronous code that reads like synchronous code. But like any new feature, here be dragons! So how will you achieve the much-desired mastery of Modern Swift Concurrency?
Modern Concurrency in Swift is here for the rescue, showcasing everything you need to know about async/await, tasks, actors, and everything in between!
Who is this for?
This book is for intermediate Swift developers who are familiar with writing asynchronous applications, but want to leverage Swift’s concurrency features to write safer and more predictable asynchronous apps.
Covered concepts
- Using async/await
- Actors
- Tasks
- Task Groups
- Custom Asynchronous Sequences
- Testing Asynchronous Code