Swift Programming Fundamentals & Intro to SwiftUI
Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.
Swift Programming Fundamentals & Intro to SwiftUI
This course is part of Deep Dive into iOS & SwiftUI: 80-Hour Project Course Specialization
Included with
Learn more
Ask Coursera
Recommended experience
Recommended experience
What you'll learn
Understand Swift fundamentals and syntax, including variables, optionals, and data types.
Build interactive iOS apps using SwiftUI for user interfaces.
Implement loops, conditionals, and functions to create efficient code.
Explore advanced Swift features like higher-order functions and closures.
Skills you'll gain
Tools you'll learn
Details to know
February 2026
8 assignments
See how employees at top companies are mastering in-demand skills
Build your subject-matter expertise
- Learn new concepts from industry experts
- Gain a foundational understanding of a subject or tool
- Develop job-relevant skills with hands-on projects
- Earn a shareable career certificate
There are 7 modules in this course
This course features Coursera Coach!
A smarter way to learn with interactive, real-time conversations that help you test your knowledge, challenge assumptions, and deepen your understanding as you progress through the course. Dive into the world of Swift programming and discover the power of SwiftUI in this comprehensive course. By understanding the fundamentals of Swift, learners will develop a strong foundation in coding concepts like variables, conditionals, loops, functions, and more. Alongside learning Swift, you will also explore SwiftUI for building intuitive and engaging user interfaces. With hands-on exercises and coding projects, this course helps you apply your knowledge in real-world app development scenarios. Through a well-structured curriculum, you'll first master Swift's syntax, dive deeper into coding techniques, and gradually start implementing advanced concepts like higher-order functions and functional programming. You'll work on coding exercises and projects such as the "Greetings App," which will further enhance your practical experience and solidify your understanding of Swift programming. The course is designed for individuals who are passionate about building apps for iOS using Swift. It is perfect for beginners who want to gain a comprehensive understanding of Swift programming and SwiftUI. While there are no strict prerequisites, a basic understanding of programming concepts will be helpful. The course has a beginner level of difficulty, with no prior experience in Swift required. By the end of the course, you will be able to write Swift code, create iOS applications with SwiftUI, use core Swift programming concepts, and implement advanced Swift features such as closures and functional programming techniques.
In this module, we will walk you through the foundational steps of setting up Xcode, starting your first Swift project, and understanding key tools like SF Symbols. You'll get a clear overview of the course roadmap, ensuring you're prepared for your learning journey ahead.
What's included
4 videos2 readings
4 videosβ’Total 29 minutes
- Course Overview & Roadmapβ’9 minutes
- Downloading Xcode and Creating Our First App!β’13 minutes
- SF Symbolsβ’2 minutes
- Adapting Xcode to Your Needs and Essential Keyboard Shortcutsβ’6 minutes
2 readingsβ’Total 20 minutes
- Introduction to the Course 'Swift Programming Fundamentals & Intro to SwiftUI'β’10 minutes
- Full Specialization Resourceβ’10 minutes
In this module, we will dive deep into the core elements of the Swift programming language. You'll start from the very basics of variables and loops and progress to advanced structures like optionals and enums, building your coding skills step by step.
What's included
15 videos1 assignment
15 videosβ’Total 87 minutes
- Introduction to Swift Fundamentalsβ’2 minutes
- Variables and Let Constantsβ’5 minutes
- String Arrays and for Loopsβ’5 minutes
- Structs and Arrays of Structsβ’6 minutes
- Optionals, if, if Letβ’8 minutes
- A Note About Line Breaksβ’3 minutes
- Int, Double, Float, Type ofβ’10 minutes
- Division, Modulo, More for Loops and If Statementsβ’7 minutes
- Simplifying the Code With a Functionβ’3 minutes
- Multiline Stringsβ’3 minutes
- More on Loops (for, while, repeat)β’8 minutes
- The Guard Statementβ’5 minutes
- Tuples and Named Tuplesβ’6 minutes
- Enumerationsβ’8 minutes
- Enumerations Continuedβ’6 minutes
1 assignmentβ’Total 15 minutes
- Swift Programming Language Fundamentals - Assessmentβ’15 minutes
In this module, we will extend your knowledge of Swift by introducing key concepts such as advanced arithmetic, string handling, and collection types. You'll also learn how to leverage control flow and functional programming techniques for more powerful Swift code.
What's included
16 videos1 assignment
16 videosβ’Total 203 minutes
- Introductionβ’1 minute
- Arithmeticβ’19 minutes
- Compound Operatorsβ’18 minutes
- Compound Operators Continuedβ’26 minutes
- Strings, Escape Sequences, Multi-line and Raw Stringsβ’10 minutes
- Strings - Part 2β’16 minutes
- Collections - Arrays and Enumeratedβ’13 minutes
- Collections - Setsβ’10 minutes
- Collections - Dictionariesβ’10 minutes
- Control Flow - Loopsβ’8 minutes
- Conditionals - If Statement, Expression, Ternary Operatorβ’15 minutes
- Conditionals - Switch Statement and Expressionβ’7 minutes
- Conditionals - Switch - Tuples and Intervalsβ’14 minutes
- Functionsβ’17 minutes
- Closuresβ’11 minutes
- Multiple Trailing Closuresβ’10 minutes
1 assignmentβ’Total 15 minutes
- Extended Introduction to Swift - Assessmentβ’15 minutes
In this module, we will guide you through a series of practical coding exercises designed to strengthen your Swift knowledge. Each exercise will help you apply what you've learned to real-world problems, building your confidence and programming ability.
What's included
22 videos1 assignment
22 videosβ’Total 141 minutes
- Coding Exercises Introductionβ’1 minute
- Exercise - Divisible by 7β’4 minutes
- Solution - Divisible by 7β’11 minutes
- Exercise - Divisible by D and Range of Divisorsβ’3 minutes
- Solution - Divisible by D and Range of Divisorsβ’6 minutes
- Exercise - Loops - Power Functionβ’2 minutes
- Solution - Loops - Power Functionβ’10 minutes
- Exercise - Loops - Sums of Powersβ’2 minutes
- Solution - Loops - Sums of Powersβ’8 minutes
- Exercise - Counting Occurrencesβ’5 minutes
- Solution - Counting Occurrencesβ’8 minutes
- Exercise - Character Rectangleβ’3 minutes
- Solution - Character Rectangleβ’12 minutes
- Exercise - Sum of N Powersβ’4 minutes
- Solution - Sum of N Powersβ’6 minutes
- Exercise - My Cosineβ’7 minutes
- Solution - My Cosineβ’10 minutes
- Exercise - My Logarithmβ’9 minutes
- Solution - My Logarithmβ’9 minutes
- Discussion - My Logarithm - "Bug"β’10 minutes
- Print Sorted Names of Numbersβ’1 minute
- Solution - Print Sorted Names of Numbersβ’13 minutes
1 assignmentβ’Total 15 minutes
- Swift Coding Exercises - Assessmentβ’15 minutes
In this module, we will introduce you to the powerful concepts of higher-order functions and closures. You'll learn how these tools enhance your ability to write flexible, clean, and modular Swift code.
What's included
4 videos1 assignment
4 videosβ’Total 33 minutes
- Introduction to Higher Order Functionsβ’1 minute
- An Excursion Into Higher Order Functions - Part 1β’14 minutes
- An Excursion Into Higher Order Functions - Part 2β’9 minutes
- An Excursion Into Higher Order Functions - Part 3β’9 minutes
1 assignmentβ’Total 15 minutes
- Higher Order Functions and Functional Programming - Assessmentβ’15 minutes
In this module, we will guide you through the development of the Greetings App using SwiftUI. From designing the user interface to adding interactivity and customization features, this hands-on project will provide a comprehensive introduction to building functional and visually appealing apps.
What's included
27 videos1 assignment
27 videosβ’Total 224 minutes
- Introduction to the Greetings Appβ’6 minutes
- Introduction to Modifiersβ’15 minutes
- More Text Views in VStackβ’8 minutes
- Adding a Viewβ’8 minutes
- Adding a Struct and an Array of Structsβ’7 minutes
- Simplifying the Code With a ForEach Viewβ’7 minutes
- Add the Greeting Title and Some Spacersβ’3 minutes
- Cleaning Up the Code and Adding a Background Colorβ’4 minutes
- Adding a Cool Gradient Backgroundβ’3 minutes
- Random Color on Tap Gesture and @Stateβ’8 minutes
- Random Animation of a Circle Using a @State Variableβ’13 minutes
- Creating a Random Subtitleβ’6 minutes
- Dark Modeβ’17 minutes
- Adding an App Iconβ’6 minutes
- Adding a Little Documentationβ’4 minutes
- Localization New Way vs Old Wayβ’1 minute
- Localization Using String Catalog New Wayβ’12 minutes
- Code Refactorization and Some Thoughts on Landscape Mode and iPad Supportβ’3 minutes
- Landscape Viewβ’12 minutes
- Adapting to Portrait and Landscape Modeβ’7 minutes
- Supporting iPadβ’7 minutes
- Change Language UI and Context Menu Copyβ’14 minutes
- Change Language and Persist Using AppStorageβ’11 minutes
- TipKit Exampleβ’11 minutes
- Importing Launch Screen From Previous Greetings Appβ’3 minutes
- Appendix Replacing the Context Menu With a Menuβ’7 minutes
- Adapting to Macβ’20 minutes
1 assignmentβ’Total 15 minutes
- The Greetings App - Assessmentβ’15 minutes
In this module, we will teach you how to create and implement custom icons for iOS 18, focusing on the new features for light, dark, and tinted modes. Using the Bakery Icon Creator tool, you'll learn how to design icons that adapt seamlessly to the latest iOS 18 themes.
What's included
1 video1 reading3 assignments
1 videoβ’Total 10 minutes
- (iOS18+) Download Bakery Icon Creator and Explore Light, Dark and Tinted Iconsβ’10 minutes
1 readingβ’Total 10 minutes
- Conclusion to the Course 'Swift Programming Fundamentals & Intro to SwiftUI'β’10 minutes
3 assignmentsβ’Total 90 minutes
- (iOS18+) Icons - Light, Dark and Tinted Icons in iOS 18 - Assessmentβ’15 minutes
- Full Course Assessmentβ’60 minutes
- Full Course Practice Assessmentβ’15 minutes
Earn a career certificate
Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.
Instructor
Offered by
Explore more from Software Development
- Status: Free Trial
Course
- Status: Free Trial
Course
- Status: Free Trial
Course
Why people choose Coursera for their career
Frequently asked questions
Swift Programming is a modern and powerful programming language developed by Apple for building apps for iOS, macOS, watchOS, and tvOS. It's relevant because it allows developers to create fast, efficient, and reliable applications for Apple devices. With its growing popularity, learning Swift is essential for anyone looking to develop apps in the Apple ecosystem.
This course covers the fundamentals of the Swift programming language and introduces SwiftUI, a framework used for building user interfaces. Youβll start by understanding basic programming concepts in Swift, such as variables, functions, and conditionals, and progress to building interactive iOS apps using SwiftUI. The course also covers key topics like collections, closures, and higher-order functions.
After completing this course, you will have a solid understanding of the Swift programming language and be able to create iOS applications with SwiftUI. You'll know how to work with variables, functions, and data structures, as well as how to use SwiftUI to build responsive user interfaces. You will also have hands-on experience building and customizing apps, such as the Greetings App project.
More questions
Financial aid available,
