Modern Concurrency: Beyond the Basics

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

Part 2: Concurrent Code

20. 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: 19. Challenge: Using a GlobalActor Next episode: Part 2 Quiz: Concurrent Code

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.

Congratulations, you've finished this course. Great work. To add features to Blabber, you created custom sequences with AsyncStream, both the pole 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 2 of this course, you worked on two apps. The first, Sky, scans satellite imagery of the sky and analyzes it for signs of alien life. You learned how to use TaskGroup to create concurrency on the fly, reduce the possibility of data races, and let you safely process the results. The second app, EmojiArt lets you browse an online catalog of digital emoji art. Working on this app took you deep into the workings of the actor and global actor types. You learned how to use these to make your code thread safe.