Free
Course

Learn Swift

A powerful programming language developed by Apple for iOS, macOS, and more.

4.65 out of 5 stars
159,150 learners enrolled
  • Skill level

    Beginner
  • Time to complete

    Average based on combined completion rates — individual pacing in lessons, projects, and quizzes may vary
    12 hours
  • Certificate of completion

    Included with paid plans
  • Prerequisites

    None

About this course

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.

Syllabus

11 lessons • 16 projects • 11 quizzes

The platform

Hands-on learning

Animated GIF of an AI provided error explanation within Codecademy's learning environment
Mobile-friendly version of a lesson and code editor for the course 'Introduction to HTML' running in Codecademy's learning environment
An AI-generated hint within the instructions of a Codecademy project
Animated GIF of a mouse cursor hovering over the Python term "comment" displaying a Docs tooltip within a Codecademy lesson
Meet the creator of the course
Kenny Lin
Web Development Domain Manager at Codecademy
Kenny is the Domain Manager for the Web Development Domain at Codecademy. He contributed to a wide range of courses and paths at Codecademy, including JavaScript, Bootstrap, Handlebars, Phaser.js, Go, Swift, TypeScript, and Lua.

Learn Swift course ratings and reviews

4.65 out of 5 stars
701 ratings
  1. 5 stars
  2. 4 stars
  3. 3 stars
  4. 2 stars
  5. 1 star
  • What a fun way to learn Swift! I loved the examples and use of pop culture and emojis. I learned a lot!
    Nathan D.
    Verified Learner
  • This course was very descriptive in what you had to do to complete a project, and did a good job of letting you have freedom in what you create in projects, giving you a good bit of space to mess around and experiment with your coding skills in Swift.
    Taj H.
    Verified Learner
  • I enjoyed each and every section of the course. It gave me so much confidence and I am glad it is in text form so that whenever I have a doubt, I can easily refer to the respective topic instead of having to play an entire video.
    Harika M.
    Verified Learner

Our learners work at

  • Google Logo
  • Meta Logo
  • Apple Logo
  • EA Logo
  • Amazon Logo
  • IBM Logo
  • Microsoft Logo
  • Reddit Logo
  • Spotify Logo
  • Uber Logo
  • YouTube Logo
  • Instagram Logo

Frequently asked questions about Swift

  • Swift is an open-source, general-purpose programming language. It was designed to replace Objective-C as the primary language for Apple development, but its flexibility and helpful features have extended its use into other domains.

Should I Learn Swift?

Adam Carpenter
Sep 28, 2021

Swift first appeared on the scene in 2014, but it’d been in development behind the scenes for years before then, thanks to some hush-hush development by Apple. When it finally emerged, it was hailed as a user-friendly language that enables the development of fast, effective solutions.

There are several other languages to choose from, so you may be wondering if you should invest the time in learning Swift or not. Keep reading to learn how it’s used, the kinds of developers that should learn it, and how our courses can help you get started learning this up-and-coming language.

Continue reading

Join over 50 million learners and start Learn Swift today!

Looking for something else?

Browse more topics

View full catalog

Unlock additional features with a paid plan

  • Practice Projects

    Guided projects that help you solidify the skills and concepts you're learning.
  • Assessments

    Auto-graded quizzes and immediate feedback help you reinforce your skills as you learn.
  • Certificate of Completion

    Earn a document to prove you've completed a course or path that you can share with your network.