« Previous
Next »
Swift HOME
Welcome to the iwantcoding.com Swift Tutorial. Swift is Apple’s modern language for iOS, macOS, watchOS, tvOS, and server. Strong types, ARC memory management, structured concurrency, and SwiftUI for declarative UI.
What this tutorial covers
| Chapter | You will learn |
|---|---|
| Swift Basics | Xcode / Playgrounds, syntax, let / var, types, strings, optionals, control flow, loops, functions, closures. |
| Types | Arrays, dictionaries, sets, tuples, structs, classes, enums, protocols, extensions, generics. |
| Modern Swift | Property wrappers, result builders, async / await, tasks, actors, error handling, Codable. |
| SwiftUI & Apps | SwiftUI intro, views & modifiers, state / binding, observable, navigation, lists, animations, SPM, XCTest. |
| Examples | Cheatsheet, runnable snippets, quiz, exercises, bootcamp, certificate. |
Who this is for
- iOS / macOS developers.
- Backend devs trying server-side Swift (Vapor).
- Cross-platform devs writing SwiftUI for visionOS.
How to use this tutorial: read the chapter, run the example with Try it Yourself », do the exercise, then take the quiz at the bottom. Hit Mark complete when you're done — the sidebar will track your progress.
Example
Exercise
Print a line in Swift.
("Hello")
Five letters.
« Previous
Next »
Discussion
Loading…