Skip to content
UdemyMobile DevelopmentPaid courseAll LevelsCertificate

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

icon
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

icon
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.

icon
Udemy Discount

The discount is applied through our link. Open the course from here and Udemy's current promotional price is applied at checkout on most courses, no code to type.

Some courses are excluded from Udemy's promotions. If the price does not drop, clear your browser cookies and use the button again.

icon
Instructor Details

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.

icon
More courses by Mohammad Azam

$69.99

$13.99

$13.99

$69.99

$69.99

$69.99

icon
More Mobile Development courses

$19.99

$74.99

$74.99

$39.99

$19.99

$84.99

icon
Reviews

4.5

283 ratings on Udemy

Select a bar to show only those reviews.Select the bar again to show every rating.

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.

Showing all 10 reviews on CourseDuck

Read all 283 reviews on Udemy

icon
Quality Score

No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.

Content Quality
/
Video Quality
/
Qualified Instructor
/
Course Pace
/
Course Depth & Coverage
/

Overall Score : 90 / 100