Modern Concurrency: Beyond the Basics

Oct 20 2022 · Swift 5.5, iOS 15, Xcode 13.4

Part 1: AsyncStream & Continuations

10. Conclusion

Episode complete

Play next episode

Next
About this episode

Leave a rating/review

See forum comments
Cinema mode Mark complete Download course materials
Previous episode: 09. Unit Testing Tools Next episode: Part 1 Quiz: AsyncStream & Continuations

Get immediate access to this and 4,000+ other videos and books.

Take your career further with a Kodeco Personal Plan. With unlimited access to over 40+ books and 4,000+ professional videos in a single subscription, it's simply the best investment you can make in your development career.

Learn more Already a subscriber? Sign in.

Heads up... You've reached locked video content where the transcript will be shown as obfuscated text.

You finished part one of the course, great work. To add features to Blabber, you created custom sequences with AsyncStream, both the pull driven and push driven varieties. You used a custom URL protocol to configure a URL session for asynchronous unit testing. You learned how to wrap a completion handler and a delegate method in a manual continuation. This mechanism helps you reuse your existing concurrency code so you can more easily adopt Swift concurrency. And you used another manual continuation to fix the timeout issue with asynchronous unit testing. In part two of this course, you'll work on two apps. The first, Sky, scans satellite imagery of the sky and analyzes it for signs of alien life. You'll learn how to use TaskGroup to create concurrency on the fly, reduce the possibility of data erases and that you safely process the results. The second app, EmojiArt, lets you browse an online catalog of digital emoji art. To verify that the digital art is authentic, the app reads the feed of current works of art from the server, verifies the digital signature of the images and only then displays them on screen. Working on this app will take you deep into the workings of the Actor and GlobalActor types. You'll learn how to use these to make your code thread safe. See you soon.