Modern Concurrency: Getting Started

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

Part 1: Asynchronous Code

07. 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: 06. Additional Error Handling Next episode: Part 1 Quiz: Asynchronous 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.

Transcript: 07. Conclusion

You’ve finished Part 1 of this course: great work!

To build your first asynchronous app, you took a quick look at some of the main features of Swift concurrency:

  • Using async/await, you fetched a list of stock symbols from the course server.
  • Then you got a never-ending AsyncSequence of price updates for selected stocks.
  • You learned how to use the task view modifier to call an asynchronous method from a SwiftUI view,
  • and how to run your view updates on the main thread with MainActor.
  • You even got some practice with handling errors.

In Part 2 of this course, you’ll work on another app, SuperStorage. It’s a a cloud file storage app with three download plans:

  • You’ll get a more detailed look at async/await, AsyncSequence and MainActor.
  • You’ll use a top-level asynchronous Task to call an asynchronous method from a SwiftUI view.
  • You’ll learn the async let syntax for grouping asynchronous tasks so they run at the same time.
  • You’ll use a download stream iterator to process AsyncSequence bytes.
  • You’ll get more practice canceling tasks.
  • And you’ll even integrate a Combine publisher into your app.

See you soon!