Introduction

Asynchronous programming is essential for modern app development — it enables applications to perform tasks efficiently without freezing the user interface. In Swift specifically, async/await allows developers to write readable and sequential code.

In this lesson, you’ll learn how Swift suspends functions using async/await, exploring this concept by creating a weather app. Your weather app will fetch real-time weather data from an API.

What You’ll Learn

By the end of this lesson, you’ll know:

  • How async/await simplifies asynchronous tasks by providing a sequential, readable syntax.
  • How to create asynchronous functions.
  • How to wait for an asynchronous function using Tasks.
See forum comments
Download course materials from Github
Previous: Lesson 3 Quiz Next: Instruction