Free
Learn Swift on your iPhone
Learn Swift with 40 short lessons and 200 exercises. Each lesson explains the idea, shows you an example and gets you practicing, with an AI tutor that gives hints when you get stuck.
- lessons
- 40
- exercises
- 200
- Beginner
- 10
- Intermediate
- 15
- Advanced
- 15
What is Swift used for?
Swift is Apple’s language for building iPhone, iPad, Mac and Apple Watch apps. It is modern, safe and fast, and it is the starting point if you want to ship your own app on the App Store.
How the course starts
- 01
Hello Swift
Learn print(), comments, and what your first Swift program looks like.
- 02
Variables and Constants
Master let, var, type annotation, and type inference.
- 03
Data Types
Use Int, Double, Bool, String, Character, and type conversions.
- 04
Operators
Practice arithmetic, comparison, logical operators, and ranges.
- 05
Strings and Interpolation
Work with interpolation, count, uppercased(), contains(), and multiline text.
-
+35 more lessons in the app
The full syllabus, the explanations and the practice are in the app.
Swift course syllabus
Beginner 10 lessons
- Hello Swift
- Variables and Constants
- Data Types
- Operators
- Strings and Interpolation
- Conditionals
- Switch
- For-in and Ranges
- While and Repeat-While
- Guard
Intermediate 15 lessons
- Arrays
- Dictionaries and Sets
- Functions
- Closures
- Higher-Order Functions
- Optionals
- Advanced Optionals
- Structs
- Classes
- Enums
- Protocols
- Extensions
- Generics
- Advanced Closures
- Design Patterns
Advanced 15 lessons
- Async/Await
- Tasks
- Actors
- Async Error Handling
- DispatchQueue Legacy
- Views and Modifiers
- State and Binding
- @Observable and MVVM
- Navigation
- Lists and ForEach
- Combine Fundamentals
- Combine Operators
- Combine + SwiftUI
- XCTest Basics
- Async and UI Testing
A question from the course
Variables and Constants
Complete the code to declare a mutable variable:
___ age = 18 The answer, the explanation and many more exercises are waiting for you in the app.
DownloadQuestions about the course
Is the Swift course free?
Yes. Swift is one of SyntaxQuest's free courses: download the app and start without paying.
Do I need experience to learn Swift?
No. The course starts at beginner level (10 lessons) and moves on to intermediate and advanced at your pace.
How long is the Swift course?
It has 40 lessons and 200 exercises. Lessons are short, so you can move forward a few minutes a day; adaptive learning brings back what you are about to forget.