Learn Swift
StartWhy Learn Swift?
Swift is a powerful programming language that is easy and also fun to learn. Its code is safe by design, yet also produces software that runs lightning-fast. It is used to build apps for iOS, watchOS, macOS, tvOS, and Linux.
Take-Away Skills
This course will start with the fundamental programming concepts before digging deeper into the more advanced Swift topics. You will build everything from a Magic 8-Ball to a Caesar Cipher.
Course Creators
- Curriculum: Sonny Li
- Curriculum: Kenny Lin
- Curriculum: Galina Podstrechnaya
- Curriculum: Alex DiStasi
- Art: Tim Liedtke
Codecademy courses have been taken by employees at
What you'll learn
- 1Write and run your very first Swift program!
- 2Introduction to variables and basic data types.
- 3Learn how to develop complex programs in Swift with conditionals and logical operators.
- 4Make the most repetitive tasks easier by learning Swift loops!
- 5Learn how to use Swift arrays and sets to keep your data organized.
What you'll create
Portfolio projects that showcase your new skills
Block Letters
Display your initials on the screen in block letters and create an ASCII art.
Dog Years
Dogs have ages that don't quite work like ours. This can be a little ruff when you want to know how old your dog would be if he/she is a human. Don't fret — build a dog-age-converting program to translate your dog's age into human years!
Quadratic Formula
Write a Swift program that solves the quadratic equation.
How you'll master it
Stress-test your knowledge with quizzes that help commit syntax to memory

— Madelyn, Pinterest“I know from first-hand experience that you can go in knowing zero, nothing, and just get a grasp on everything as you go and start building right away.”