Setup
iOS development requires Xcode, which requires a Mac. The language itself runs on Linux and Windows too — and Swift Playground on iPad is a genuinely good way to learn.
Lessons
1
Hello, Swift
Clean syntax, strong types, no semicolons. Swift reads like pseudocode but compi…
→
2
Optionals
Swift's answer to null crashes: a value that might be absent has a different typ…
→
3
Functions & Control Flow
Swift function signatures read like sentences — argument labels are part of the …
→
4
Structs, Enums & Value Types
Swift's twist on OOP: structs (copied on assignment) are the default, classes (s…
→
5
Collections & Closures
Arrays, dictionaries, sets — plus map/filter/reduce with Swift's famously terse …
→
6
Errors & async/await
Two things every real app does: handle failures and wait for the network. Swift …
→
7
Your First SwiftUI App
SwiftUI describes screens as structs, updates them automatically when @State cha…
→
8
Swift Cheatsheet
Optionals, structs, enums, closures, and SwiftUI basics on one page.
→