SwiftQuest

Opening soon · the first two islands are free

Learn Swift by writing it, running it, and seeing what it did.

SwiftQuest is a course in Swift, the language behind Apple's apps, laid out as a journey across fifteen islands. Every quest has you write real Swift and run it on a real compiler, in your browser, with nothing to install.

Try BetaEvery island free, and Pro for life as our thank-you.

The SwiftQuest journey map, signed in: The Swift Camp is marked Next, with its first quest, The Compiler Reads It First, ready to start, and Collections Market carries a Pro tag. Beside the quest stands the white swift.

How a quest works

Every quest moves in the same three steps: read, check, type. Most take 30 to 50 minutes.

  1. Read

    A short page with one idea and a Swift example, and worked examples you run and change, with a short checklist of things to try.

  2. Check

    Answer a quick question, or tap the word in the code that has to change. Every answer says why.

  3. Type

    Predict what code prints, write a program from a brief, or fix one that will not build, then run it. Swift's own messages come with plain words beside them.

A worked example: two lines of Swift that print a greeting, the Run code button, and the output, Hello from Swift Camp. My name is Sable., in a screen lit gold. The white swift stands on the editor.
A worked example, run. Change the name and run it again.
A tap check: Swift says cannot assign to value: 'name' is a 'let' constant, above three lines of code with every word a button. The tapped word, let, is marked right: let promised that name would never change, and line 2 changes it. Below it the fixed program, with var, and what it prints: Ash.
A check: Swift's own error, and the one word that has to change. Every tap says why.

Fifteen islands, from your first line to a whole program

40 quests, 148 encounters and 60 worked examples, in the order that builds on itself. The last island hands you a brief and a test suite and leaves the design to you.

  • Island 1

    The Swift Camp

    Variables, types and functions. Enough Swift to use everything else: values, types, functions, and the single most useful habit in programming — reading what the compiler tells you.

    Free
  • Island 2

    Control Flow Keep

    Conditions, loops and optionals. Programs decide. This world is about making those decisions readable: conditions, optionals, pattern matching, and the difference between branching and leaving.

    Free
  • Island 3

    Collections Market

    Arrays, sets and dictionaries. Four shapes for holding more than one thing, the operations that reshape them, and the judgement of which shape the problem actually has.

    Pro
  • Island 4

    The Value Kingdom

    Structs and value semantics. Most of the types you will write in Swift are structs, and the single most important thing about them is what happens when you assign one to something else.

    Pro
  • Island 5

    The Enum Wildlands

    Enums and associated values. An enum is not a tidier way to write constants. It is a way to describe a situation so precisely that the impossible versions of it cannot be written down — and to make the compiler tell you every place that needs attention when the situation grows.

    Pro
  • Island 6

    Reference Citadel

    Classes and inheritance. Types whose values are shared rather than copied: identity, inheritance, casting, and the judgement about which of your models genuinely need to be one thing that everybody sees.

    Pro
  • Island 7

    Protocol Guild

    Protocols and generics. A protocol names what a type can do without saying what it is. That one move lets a battle engine work with combatants it has never heard of, and lets a downloader report finishing without knowing who is listening — which is all delegation ever was.

    Pro
  • Island 8

    Closure Caverns

    Closures and callbacks. A closure is a function you can hand to something else — and, less obviously, everything it was still holding when you handed it over.

    Pro
  • Island 9

    Error Handling Peaks

    Errors and Result. Things go wrong: files are missing, input is malformed, a payment is refused.

    Pro
  • Island 10

    Memory Dungeon

    ARC and reference cycles. Swift frees a class instance the moment nothing is holding it any more.

    Pro
  • Island 11

    Foundation Harbor

    Foundation, JSON and files. Everything so far you wrote yourself. Here the data arrives from somewhere else — a file, an export, another program — in a format nobody consulted you about.

    Pro
  • Island 12

    Regex Ruins

    Regex and text matching. Log lines, chat commands, filenames. Text written for people to read, arriving in a program that has to understand it.

    Pro
  • Island 13

    Swift Artificer's Workshop

    Extensions, wrappers and macros. Everything here exists to remove repetition you would otherwise write by hand.

    Pro
  • Island 14

    Concurrency Frontier

    Async, await and actors. Most of what a program does while it feels slow is wait. Swift's concurrency is built around that: a function can pause without blocking anything, work that does not depend on other work can overlap, and shared mutable state is protected by the compiler rather than by your memory.

    Pro
  • Island 15

    Capstone Isles

    Build a complete Swift program. Every encounter so far told you which idea it was about. These do not.

    Pro

What makes it different

Swift's own words, made readable

When the compiler objects, you see exactly what it said, with a plain explanation added underneath, never instead.

Help when you want it

Tap the white swift for the next hint, or open the worked solution. Asking for help never takes away anything you have earned.

Skills you can show, not points

31 skills, each shown three ways: you understand it, you can use it, and you can solve a new problem with it. My Swift Skills says which, and how.

Your programs, kept

The programs you write are saved to My Projects, where you can open them again and make another version.

Practice that follows you

The Practice Lab offers short practice on what you just learned, on a set-up you have not met before.

Honest about time

About 40 to 55 hours for a beginner, and 25 to 30 for someone who already programs. The two free islands take about three to four hours.

Free to start

The first two islands are free. Pro opens the other thirteen — by the month, three months at a time, or once for good — and your first payment can be refunded within 14 days, no questions asked.

Free

The first two islands

$0

  • The Swift Camp and Control Flow Keep: five quests, about three to four hours for a beginner
  • The Practice Lab for what they teach
  • My Swift Skills and My Projects
  • Your progress saved to your account
  • Export or delete your data at any time

Pro, monthly

The whole course

$8.99a month

  • Everything in Free
  • All fifteen islands: 40 quests, 148 encounters, 60 worked examples
  • The Capstone Isles: complete programs from a brief
  • The Practice Lab for every island
  • New worlds as they open, such as SwiftUI
  • Cancel any time; Pro lasts until the end of the month you paid for

Renews monthly until you cancel.

Pro, once

Keep this course

$43.99one time

  • Everything Pro, monthly has today
  • Pay once and keep the Swift course as it is when you buy it
  • No renewal, nothing to cancel

New worlds added later, such as SwiftUI, come with Pro monthly or every 3 months.

The details

Taxes and currency

Prices are in US dollars. Sales tax, where your state charges it, is added at checkout, and the checkout shows the final price before you pay.

Refunds

Your first payment, monthly, every three months or one-time, can be refunded in full within 14 days, no questions asked. Renewals are not refunded: cancel at any time and Pro stays until the end of the period you paid for. One refund per learner. Refunds and withdrawal has the whole policy.

When Pro ends

You keep everything you have earned: completed quests, your skills, your programs, and your export. The free islands stay open. Opening new Pro quests and running their code waits until you renew.

Fair use

Generous daily limits on running code keep the service fair for everyone, with far more room than a day of learning needs.

Who you pay

Our order process is conducted by our online reseller Paddle.com. Paddle.com is the Merchant of Record for all our orders: it handles billing, taxes, receipts and refunds, and your statement will show Paddle. Questions about a payment can go to Paddle at paddle.net, or to us at info@swiftquest.dev.

Questions

Do I need a Mac, or Xcode?

No. Your code runs on SwiftQuest's servers, so any modern browser will do. A computer with a keyboard is best; a phone works for reading, but typing code there is slow.

Is this about iPhone apps?

It starts with the Swift language itself: the foundation every Apple framework, SwiftUI included, is built on. Then the SwiftUI course builds iPhone screens with it (below).

Is SwiftUI part of the course?

Yes, as a second course: eight destinations and 24 quests, from your first view to five small apps (a profile card, a supply splitter, a reading list, a match game and an expedition planner). Beta testers have it now. If you already know some Swift, you can start there.

You write the same SwiftUI code you would write in Xcode: a view is a struct with a body, built from stacks, text, images and buttons, styled with modifiers, and kept up to date with @State. What you learn carries straight over to Xcode.

It is not one to one with Xcode. Apple's SwiftUI runs only on Apple's own systems, and your code runs on our servers, so the preview beside your code is SwiftQuest's own drawing of the parts of SwiftUI the course teaches, checked against Apple's own renders. It is close to Xcode's preview, but not identical, and not every view or animation. To run your apps on your own iPhone, you finish them in Xcode, which needs a Mac.

SwiftUI comes with Pro, monthly or every 3 months. Pro, once keeps the Swift course as it is when you buy it.

What does the course cover?

Fifteen topics, one island each: variables, types and functions; conditions, loops and optionals; arrays, sets and dictionaries; structs and value semantics; enums and associated values; classes and inheritance; protocols and generics; closures; errors and Result; ARC and reference cycles; Foundation, JSON and files; regex and text matching; extensions, property wrappers and macros; async, await and actors; and a final island where you build complete Swift programs from a brief. The first two islands are free.

Who is it for?

Anyone who wants to learn Swift, including people who have never programmed. If you already program in another language, you will move faster. You need to be 16 or older to make an account.

When does it open?

Soon. Join the launch list and we will email you the day it does.