SwiftData - Declarative Data Persistence for SwiftUI (Udemy.com)
Swiftly Persist & Query Data: Declarative Code for Seamless SwiftUI Integration
Created by: Mohammad Azam
Last updated October 2025
What you will learn
- The fundamentals of data persistence in Swift using SwiftData.
- How to use declarative code to easily persist data in their applications.
- Techniques for establishing and managing one-to-many relationships between data entities.
- Real-world application of SwiftData concepts through the development of a sample project.
How it compares
Against the other 149 rated Udemy courses in Mobile Development on CourseDuck:
- Rating4.5 out of 5higher than 62% of them
- Reviews283#44 of 150 by number of reviews
- Length8.3 hourslonger than 53% of them
- Last updatedOctober 2025more recently than 67% of them
Course Description
Discover the power of SwiftData as you dive into the world of data persistence in Swift. This course provides an introduction to SwiftData, covering essential concepts such as declarative code, one-to-many relationships, many-to-many relationships, persistence, and querying. You will learn how to effortlessly persist data using SwiftData's intuitive approach. Explore the intricacies of establishing and managing relationships, enabling you to organize and associate data effectively. Unlock the ability to query and filter data with regular Swift code, unleashing the full potential of SwiftData. By the end of this course, you'll have a solid foundation in SwiftData, equipped with the skills to develop robust, data-driven applications with ease. Join now and master the art of data persistence and querying in Swift using SwiftData!
Who is this course for:
- Swift developers who want to expand their knowledge and skills in data persistence.
- iOS app developers who want to learn how to effectively store and retrieve data in Swift applications.
- Beginner developers looking to understand the fundamentals of data persistence and querying in Swift using declarative code.
- Experienced developers who want to enhance their data handling capabilities and learn advanced techniques for querying and filtering data.
- Developers interested in integrating data persistence seamlessly with SwiftUI for building robust and data-driven user interfaces.
- Individuals seeking to develop efficient and scalable applications that rely on one-to-many relationships between data entities.
- Programmers who want to leverage the power of SwiftData to streamline their development process and improve the efficiency of data management tasks.
What will students learn in this course:
- The fundamentals of data persistence in Swift using SwiftData.
- How to use declarative code to easily persist data in their applications.
- Techniques for establishing and managing one-to-many relationships between data entities.
- Strategies for efficiently querying and filtering data using regular Swift code.
- Integration of SwiftData seamlessly with SwiftUI for building data-driven user interfaces.
- Real-world application of SwiftData concepts through the development of a sample project.
- The skills and knowledge necessary to confidently develop robust and scalable applications with SwiftData.
Instructor Details
- 4.5 Rating
283 Reviews
Mohammad Azam
Mohammad Azam is a seasoned iOS developer, educator, and speaker with over a decade of experience building mobile applications and mentoring developers. He is the founder of AzamSharp School, a learning platform offering 150+ hours of iOS development content and live workshops that have helped thousands of students level up their skills. As an instructor at DigitalCrafts and a top-rated Udemy and LinkedIn Learning teacher, Azam has taught more than 80,000 students worldwide. He frequently speaks at developer conferences, sharing insights on SwiftUI, app architecture, and machine learning in iOS. His teaching is known for being practical, clear, and deeply rooted in real-world development.
More courses by Mohammad Azam
SwiftUI - Declarative Interfaces for any Apple Device (2023)
4.5 (2,337 Reviews)
Provider: Udemy
Time: 26.5h
$13.99
Async/Await and Actors - Concurrency in Swift (2023)
4.6 (1,449 Reviews)
Provider: Udemy
Time: 5h
$69.99
More Mobile Development courses
Flutter Mobile App: Build Chatbot with Firebase & Gemini AI (2026)
4.9 (775 Reviews)
Provider: Udemy
Time: 13.8h
$19.99
Android MVVM Architecture complete course (2026)
4.7 (890 Reviews)
Provider: Udemy
Time: 3.4h
$74.99
Android App's Development Masterclass - Build 2 Apps - Java (2023)
4.7 (271 Reviews)
Provider: Udemy
Time: 7.8h
$39.99
The Best React Native Course 2026 (From Beginner To Expert)
4.6 (735 Reviews)
Provider: Udemy
Time: 24.3h
$19.99
The Ultimate 70+ Hours iOS Development Bootcamp (2025)
4.6 (672 Reviews)
Provider: Udemy
Time: 74.2h
$84.99
Reviews
By Laurence Stone on 5/25/2025
I'm a little more than halfway through. I've certainly learned some important stuff, BUT it's been nuts trying to keep the project structure straight. I finally had to restructure the whole thing from scratch, just so it would be more intuitive to me. So my suggestion is to streamline the overall structure.
By Darshan Mothreja on 5/20/2025
In your actor movies many to many example episode mo 30 when we tap on list of actors which are retrieved from DB it navigated to ActorDetailScreen where we show list of movies. Now while selecting movies for that actor you are inserting actor again in the DB. Ideally it should be just updated with the movies array in it. As Actor is already in DB we just need to update the relation with movies. Let me know your thoughts.
By Martin Krüger on 11/24/2024
Like the other courses of Mr. Mohammad Azam it is very pleasant and informative to code along. The only problems arise from the latest breaking changes in updated versions of XCode / Swift
By Jose Ponciano Lopez Romero on 2/7/2024
Great course, it went beyond just SwiftData by letting us know common SwiftUI tips and helpful updates to keep ourselves up with the latest changes and features.
By Anonymized User on 1/7/2024
In bindable lecture you need to explain why we need to use a class instead of struct you need to explain the reason behind it instead of that you are saying if we use a struct compiler yells at us so we need to use a class ...
By Tom Giles on 10/3/2023
Through various examples, Azam provides an in-depth look at everything needed to get started with SwiftData, and in particular how to use it with CloudKit (in Section 12). His presentation style is clear - he explains a lot of things that aren't obvious, and openly works through problems as they come up ... just as his students would have to approach the issues when they arise. There is another section or two coming up, and I'm looking forward to working through them, as well.
By Tim Newton on 9/20/2023
Valuable, thorough information. Very please that the lessons are updated with new information as this is a fresh technology with more information coming out all the time.
By Derrick Shoemake on 8/29/2023
It's a great class, he runs through the lessons a little quickly, which makes it hard to type and listen at the same time. I ended up pausing the lesson repeatedly to keep up with it.
By Thomas Cowern on 7/20/2023
Excellent overview of new iOS updates, very easy to understand examples and small projects to demonstrate real world ways in which the upcoming changes will be applied.
By Stephen Tolton on 6/9/2023
Mohammad Azam is always on the cutting edge. SwiftData was just *announced* and he's already teaching the world how to use it. Azam courses are full of great content, have excellent presentation, and smoothly progress through a well organized hierarchy of topics. I have no doubt this latest course will be very useful and popular as iOS 17 development begins in earnest this summer.
Quality Score
No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.
Overall Score : 90 / 100












