Skip to content

Swift for Beginners

From your first program to optionals, collections, closures, structs and classes, protocols, errors, ARC, async/await and a final project.

Free19 modules136 lessons≈ 7 h

The course teaches with lessons and quizzes, so you need nothing installed to take it. To run the lesson examples on your own computer, install Swift and an editor: the steps depend on your system.

  1. On a Mac, install Xcode

    The lessons use Swift 6, which comes with Xcode 16 or newer.

  2. On Windows or Linux, install Swift

    The lessons use Swift 6 or newer.

  3. On Windows or Linux, install VS Code

    Download VS Code and add the Swift extension from the Swift project; its guide walks through the first run.

Syllabus