Sit a beginner in front of Xcode 16 for the first time and start a timer. Within about four minutes they will ask what a "scheme" is, and you will remember that this tool was built for people who already ship software. Teaching Swift is mostly a decision about how much of that machinery to hide, and for how long.
There are three real routes. Pick one before the first session; mixing them is what produces the beginner who has watched 40 hours of video and written 60 lines of code.
Three teaching routes, and what each one actually costs
Route A is guided self-study: Swift Playgrounds plus Apple's free book. Cost: $0.
Route B is a structured course with a calendar: a free day-by-day program, or a paid video course at $15–$40 one-time or $20–$40 a month.
Route C is a human: a weekly 45–60 minute session with you, a hired mentor, or a local meetup, at roughly $25–$60 an hour in most US cities.
They differ on one axis that matters more than content: how fast a wrong idea gets corrected. Playgrounds corrects syntax in under a second and nothing else. A course corrects nothing. A person corrects the thing the beginner didn't know to ask.
Route A: Swift Playgrounds and Apple's own book
Swift Playgrounds is free on iPad (iPadOS 16 or later) and on Mac. Its "Learn to Code 1" lessons put a character on a grid and make it walk to a gem using moveForward(), turnLeft(), and a for loop, so the beginner writes real Swift syntax before ever meeting a project file. Then hand them The Swift Programming Language, free in Apple Books, and have them read only the "A Swift Tour" chapter — about 30 minutes — before touching anything else.
Choose this route when the learner is an adult who will genuinely sit down alone three times a week and who gets irritated by hand-holding. Its weakness is style and structure: nobody tells them that a 90-line function is a problem.
Route B: a course with a deadline attached
The best-known free option is the 100 Days of SwiftUI sequence: one lesson a day at about an hour each, with a challenge at the end of every week. Paid equivalents run 20–40 hours of video for $15–$40 on sale. That $20 is not buying better content; it is buying follow-through. Free video courses routinely see completion rates under 15 percent, and paying even a small amount changes that number.
One content decision matters more than the price: check whether the course teaches SwiftUI or UIKit first. For a beginner starting now, SwiftUI first — a working screen in 20 lines instead of 200. UIKit is a later topic, and only if a specific job or an older tutorial demands it.
Choose this route for someone who needs a calendar and a finished app at the end of it.
Route C: one hour a week with a person in the room
A weekly 45-minute session beats a weekend marathon because the beginner forgets less between meetings. The format that works: they share their screen and type, and you do not touch the keyboard for the first 20 minutes. When they hit a red error, ask them to read it out loud. Xcode's messages are frequently unhelpful — "Type 'Int' has no member 'append'" is at least clear, but "Ambiguous use of 'init'" is not — so you are teaching them to translate errors, not to fear them.
Screen them with one question before you commit: "Explain a for loop to me like I'm five." If they can only recite syntax, they have memorized rather than learned, and an hour a week is the only thing that fixes it.
Choosing by the hardware they already own: Mac, iPad, or Windows
Swift's real toolchain is Xcode, which runs only on macOS (Xcode 16 wants macOS 14.5 or later). That single fact eliminates options faster than any discussion of teaching style.
- A Mac from the last five years: all three routes are open. Stay in the Swift Playgrounds app or a
.playgroundfile for two weeks before creating a full Xcode project. - An iPad: Playgrounds plus the free book is the honest answer. Recent Playgrounds versions can build and submit an app, but debugging on iPad is slower, and you should say so up front.
- Windows only: either a used M1 Mac mini at roughly $350–$500, or a cloud Mac at $20–$30 a month. Do not start with a virtual machine on unsupported hardware; the setup alone eats the beginner's entire enthusiasm budget.
What to teach in the first three sessions
Order beats volume. Three 45-minute sessions, one new idea each:
- Variables and printing.
letbeforevar, string interpolation with\(name), 15–20 lines total. Then have them delete a closing quote and read the compiler's complaint out loud. - Functions and the integer trap. One parameter, then two. Show that
7 / 2is3when both values areInt, and3.5when one is aDouble. This is the first bug nearly every Swift beginner writes. - Structs and arrays together. A 30-line score keeper in a Playground: a
struct Playerwith anameand ascore, an array of three players, and a function that prints the leader.
Keep every exercise under 30 lines, and make them type each character — no copy-paste from the lesson text. Typing is where the syntax moves into the fingers.
Rules that keep a Swift beginner from stalling
- Optionals come after structs, not before. Teach
if letandguard letin one sitting, and ban the force-unwrap!for the first month. Anilcrash is the number one reason beginners conclude they are bad at this. - Stay out of full Xcode projects for two weeks. A new iOS project has 30-plus files before you write a line, and that wall ends more attempts than optionals do.
- End every session with a file that runs. An unfinished exercise sitting there all weekend reads as failure.
- Forty-five minutes three times a week beats four hours on Sunday every time, because the second format is really one session followed by six days of forgetting.
The test of whether the teaching is working is not how fast they finish a course. It is whether, in week three, they open a Playground without being asked and change something that already works, just to see what happens.