Skip to content
iSwift.
PlaygroundCookbookMigrationLearn
Swift docs
LEARN BY DOING

A clear start with Swift

Six short lessons. Real examples. Start at the beginning, or pick the idea you want to understand.

LESSON 01

Your first Swift program

Values, types, and a little output.

Read lesson
LESSON 02

Optionals and safe code

Treat missing values as part of your model.

Read lesson
LESSON 03

Collections and transformations

Choose arrays, sets, and dictionaries for the right job.

Read lesson
LESSON 04

Model data with structs

Use small types instead of loosely typed dictionaries.

Read lesson
LESSON 05

Errors and recovery

Decide what a caller should do when work fails.

Read lesson
LESSON 06

Concurrency and actors

Understand suspension, isolation, and shared state.

Read lesson
iSwift.

A workbench for curious Swift developers.

ExamplesGuidesAboutPrivacySwift.org

Independent community resource. Swift is a trademark of Apple Inc.