Free
Course

Learn Swift

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

4.66 out of 5 stars
159,294 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
  • Certificate of completion available with Plus or Pro

    Earn a certificate of completion and showcase your accomplishment on your resume or LinkedIn.

The platform

Hands-on learning

Animated GIF of an AI provided error explanation within Codecademy's learning environment
An AI-generated hint within the instructions of a Codecademy project
Animated GIF of Codecademy's Job Readiness Checker tool generating a compatibility report for a senior software engineer role
Animated GIF of building a phone screen interview using Codecademy's Interview Simulator
A fill-in-the-blank JavaScript question in a Codecademy assessment
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.

Earn a certificate of completion

Show your network you've done the work by earning a certificate of completion for each course or path you finish.
  • Show proofReceive a certificate that demonstrates you've completed a course or path.
  • Build a collectionThe more courses and paths you complete, the more certificates you collect.
  • Share with your networkEasily add certificates of completion to your LinkedIn profile to share your accomplishments.

Learn Swift course ratings and reviews

4.66 out of 5 stars
793 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!

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.