Lessons
An introduction to writing Swift
Swift · Introductory. Ten lessons. Open-book quizzes. Lesson 1 free.
10 lessons · The Host · Lesson 1 free
Pass all ten lessons for the certificate. Sample · Claim

Lesson 1 · On the house
Hello, Swift
print and a tiny first program.

Lesson 2
Constants and variables
let vs var — prefer immutability.

Lesson 3
Types you can see
Int, Double, String, Bool — and explicit annotations.

Lesson 4
Strings worth reading
Interpolation, concatenation, and basics.

Lesson 5
Making choices
if / else — Bool conditions only.

Lesson 6
Loops that finish
for-in and while — keep an exit.

Lesson 7
Functions
Parameters, return types, and calling.

Lesson 8
Optionals
? and careful unwrap habits.

Lesson 9
Collections
Array and Dictionary basics.

Lesson 10
Structs
Value types — properties and methods.
Sample certificate
Certificate of completion
Sign in to claim your certificate of completion.
Certificate
Finish all ten lessons, then sign in
Pass every lesson on this device (quizzes and checks). Then sign in or create an account to type your name and download the JPG.