Tool
Swift
Apple's modern language for iOS and macOS
Learn Swift syntax, optionals, and closures.
8
Chapters
4
Practice formats
1
Self-paced
Curriculum
8 chapters, each with a tutorial, a live example, a quiz, an exercise, a challenge, and class practice.
- 1preview
Introduction to Swift
Optionals and Swift's safety-first design.
- 2
Variables & Types
let, var, and Swift's basic types.
- 3
Control Flow
if/else, switch, and loops.
- 4
Functions
Parameters, labels, and return types.
- 5
Optionals
Unwrapping safely with if let and guard.
- 6
Classes & Structs
Reference types vs. value types.
- 7
Closures
Swift's inline, reusable blocks of code.
- 8
Protocols
Swift's take on interfaces.