Description
Book Synopsis: Learn Modern Swift Concurrency! 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, which lets 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 comes to the rescue, showcasing what you need to know about async/await, tasks, actors and everything in between!
Who This Book Is For
This book is for intermediate Swift developers who are familiar with writing asynchronous applications and who want to leverage the concurrency features Apple introduced in Swift 5.5 and its evolution throughout the years, to write safer and more predictable asynchronous apps.
Topics Covered in Modern Concurrency in Swift
- Using async/await: Learn how to use the new async/await keywords to define and run asynchronous work.
- Actors: Find out how to use the actor model to easily protect shared mutable state in a synchronized container.
- Tasks: You'll dive deeper into the Task type, which powers all asynchronous tasks in Swift's modern concurrency model.
- Task Groups: Use a Task Group to group multiple tasks together and run them concurrently, while using a familiar Array-like syntax to iterate over the results.
- Custom Asynchronous Sequences: Leverage the power of async/await in your own asynchronous work, by learning how to create custom AsyncStreams.
- Testing Asynchronous Code: Asynchronous code can be a challenging beast to test. You'll learn everything you need to tackle this challenge.
One thing you can count on: After reading this book, you’ll be prepared to leverage Swift's new concurrency features in your app to write safe, performant and predictable asynchronous code.
Details
Looking to write powerful and safe concurrent apps with Swift? Look no further! Introducing the Modern Concurrency in Swift (Second Edition) book. With the latest async/await syntax, you can now write asynchronous code that reads like synchronous code. No more race conditions or unexplained crashes! This book is your guide to mastering modern Swift concurrency and unleashing the full potential of your apps.
Calling all intermediate Swift developers! If you're familiar with writing asynchronous applications and want to take it to the next level, this book is for you. Explore the concurrency features introduced in Swift 5.5 and how they have evolved over the years. Learn how to write safer and more predictable asynchronous apps with ease.
In Modern Concurrency in Swift, you'll learn how to use the new async/await keywords to define and run asynchronous work. Discover the actor model that allows you to protect shared mutable state in a synchronized container. Dive deeper into the Task type, the powerhouse behind all asynchronous tasks in Swift's modern concurrency model. Group multiple tasks together and run them concurrently with Task Groups, using a familiar Array-like syntax to iterate over the results. Leverage the power of async/await in your own asynchronous work with custom asynchronous sequences. And don't worry about testing asynchronous code – this book has you covered.
After reading this book, you'll be equipped to leverage Swift's new concurrency features in your app. Say goodbye to unsafe and unpredictable code. Say hello to safe, performant, and predictable asynchronous code. Don't miss out on this opportunity to level up your Swift development skills. Grab your copy of Modern Concurrency in Swift (Second Edition) now!
Get your copy of Modern Concurrency in Swift (Second Edition) today!
Discover More Best Sellers in Mobile Phones, Tablets & E-Readers
Shop Mobile Phones, Tablets & E-Readers
$19.99
Mobile Phones, Tablets & E-Readers - iPhone 13 User Guide for Seniors: A Unique Book to Learn the First Steps to Take From the Moment You Get an iPhone in Your Hand, up to the Most Complex Things
An Expanded Guide to the Tenway UV-5R Pro: 8W Dual Band Two Way Radio with 3800mah Battery
$6.85
Mobile Phones, Tablets & E-Readers - An Expanded Guide to the Tenway UV-5R Pro: 8W Dual Band Two Way Radio with 3800mah Battery
$31.99
Mobile Phones, Tablets & E-Readers - Hands-On Microsoft Lists: Create custom data models and improve the way data is organized using Lists in Microsoft 365
C Programming For Dummies (For Dummies (Computer/Tech))
$22.99
Mobile Phones, Tablets & E-Readers - C Programming For Dummies (For Dummies (Computer/Tech))
$2.99
Mobile Phones, Tablets & E-Readers - HOW TO ADD A DEVICE TO MY KINDLE ACCOUNT: A Complete Quick Guide on How to Add Kindle Device to your Amazon Account (Kindle Tips & Tricks Book 2)
Samsung Galaxy S7 & S7 Edge: The 100% Unofficial User Guide
$14.99
Mobile Phones, Tablets & E-Readers - Samsung Galaxy S7 & S7 Edge: The 100% Unofficial User Guide
$5.99
Mobile Phones, Tablets & E-Readers - How to create an Android App in 30 minutes for free with no programming skills.: No Programming Skills Required. (Making Android Apps)
JavaScript Fundamentals for Apps Script Users
$5.99
Mobile Phones, Tablets & E-Readers - JavaScript Fundamentals for Apps Script Users
$11.99
Mobile Phones, Tablets & E-Readers - iPhone 13 Pro Max User Guide: The Complete Step By Step User Manual On How To Master The New Apple iPhone 13 Pro Max For Beginners And Seniors. With Pictures, Tips & Tricks For iOS 15

