Learn Swift
A powerful programming language developed by Apple for iOS, macOS, and more.
Skill level
BeginnerTime to complete
Average based on combined completion rates — individual pacing in lessons, projects, and quizzes may vary12 hoursProjects
16Prerequisites
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 quizzesCertificate of completion available with Plus or Pro
Earn a certificate of completion and showcase your accomplishment on your resume or LinkedIn.
Projects in this course
- practice Project
Block Letters
Display your initials on the screen in block letters and create an ASCII art. - practice Project
Quadratic Formula
Write a Swift program that solves the quadratic equation. - practice Project
Piggy Bank
You just returned from a trip to South America and you came back with three different kinds of currencies. Let's convert them to USD!
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
- 5 stars
- 4 stars
- 3 stars
- 2 stars
- 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
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?
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.
Join over 50 million learners and start Learn Swift today!
Looking for something else?
Related resources
- Article
Running Hello World Locally (Xcode & Terminal)
Run your Hello World Swift program locally using Xcode or Terminal. - Article
What are Tuples?
Get an overview of what tuples are in Swift and see their application in iterating through dictionaries. - Article
Data Types
Swift is a strongly-typed language.
Related courses and paths
- Free course
Learn Swift: Introduction
Learn the basics of Swift syntax and variables and build simple programs in this introduction to the Swift programming language.Beginner Friendly1 hour - Skill path
Build iOS Apps with SwiftUI
Learn how to build iOS applications with Swift and SwiftUI and publish them to Apples' App Store.Includes 7 CoursesWith CertificateBeginner Friendly13 hours - Free course
Learn Swift: Arrays, Sets, and Dictionaries
Continue your Swift journey by learning these collection types: arrays, sets, and dictionaries!Beginner Friendly4 hours
Browse more topics
- Swift162,575 learners enrolled
- Mobile Development1,312,167 learners enrolled
- Code Foundations7,250,118 learners enrolled
- Computer Science5,704,042 learners enrolled
- Web Development4,851,472 learners enrolled
- Data Science4,367,051 learners enrolled
- Python3,528,210 learners enrolled
- For Business3,242,158 learners enrolled
- JavaScript2,812,037 learners enrolled
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.