Free
Course

Learn Swift

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

4.66 out of 5 stars
157,875 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
779 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!

Start this free course with a Basic account

Or, get even more with a 7-day free trial.
  • Basic

    $0
    Always free
    Start Learn Swift with basic accessIncluded in Basic
    • Basic access to free courses
      Access basic material for courses in top subjects like HTML and JavaScript. Quizzes and projects not included with Basic.
    • Community support
      Connect with other learners, get answers to your questions, and attend fun events.
    • Learning resources
      Cheatsheets, docs, videos, and more to support your learning journey.
    • Real-world projects
    • All courses
    • Skill paths
    • Certificates of completion
    • Career paths
    • Technical interview prep
    • Code challenges
    • Professional certifications
    • Career services
    • Assessments
  • Plus

    Learn a skill
    $14.99 per month
    Billed annually or$29.99 billed monthly
    Build in-demand technical skills for work or a personal projectEverything in Basic and more
    • Basic access to free courses
      Access basic material for courses in top subjects like HTML and JavaScript. Quizzes and projects not included with Basic.
    • Community support
      Connect with other learners, get answers to your questions, and attend fun events.
    • Learning resources
      Cheatsheets, docs, videos, and more to support your learning journey.
    • Real-world projects
      Access our full library of practice and portfolio projects. Apply your skills and build your portfolio.
    • All courses
      Unlimited access to 300+ stand-alone courses, including everything in Basic plus popular Pro courses like Learn Python 3.
    • Skill paths
      Curated learning paths teach you everything you need to gain a specific skill, like building a website or visualizing data.
    • Certificates of completion
      Earn a certificate for courses or paths you finish to share with your network as proof of completion.
    • Career paths
    • Technical interview prep
    • Code challenges
    • Professional certifications
    • Career services
    • Assessments
  • Recommended

    Pro

    Build a career
    $19.99 per month
    Billed annually or$39.99 billed monthly
    Develop the skills and experience to land a job in techEverything in Plus and more
    • Basic access to free courses
      Access basic material for courses in top subjects like HTML and JavaScript. Quizzes and projects not included with Basic.
    • Community support
      Connect with other learners, get answers to your questions, and attend fun events.
    • Learning resources
      Cheatsheets, docs, videos, and more to support your learning journey.
    • Real-world projects
      Access our full library of practice and portfolio projects. Apply your skills and build your portfolio.
    • All courses
      Unlimited access to 300+ stand-alone courses, including everything in Basic plus popular Pro courses like Learn Python 3.
    • Skill paths
      Curated learning paths teach you everything you need to gain a specific skill, like building a website or visualizing data.
    • Certificates of completion
      Earn a certificate for courses or paths you finish to share with your network as proof of completion.
    • Career paths
      Curated learning paths give you the knowledge and experience to land a job in tech like Data Scientist or Engineer.
    • Technical interview prep
      Technical interview prep courses, practice questions, code challenges, and more.
    • Code challenges
      Test your knowledge with coding problems based on real-world technical interviews.
    • Professional certifications
      Prove you're job-ready. Earn a professional certification when you pass all the exams in select career paths.
    • Career services
      Get personalized job listings and connect with employers looking for tech talent.
    • Assessments
      Test your skills as you build toward job-readiness. Certification exams are available in select career paths.

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.