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 lessonLESSON 02Optionals and safe code
Treat missing values as part of your model.
Read lessonLESSON 03Collections and transformations
Choose arrays, sets, and dictionaries for the right job.
Read lessonLESSON 04Model data with structs
Use small types instead of loosely typed dictionaries.
Read lessonLESSON 05Errors and recovery
Decide what a caller should do when work fails.
Read lessonLESSON 06Concurrency and actors
Understand suspension, isolation, and shared state.
Read lesson