Udemy

SwiftData - Declarative Data Persistence for SwiftUI

Enroll Now
  • 1,790 Students
  • Updated 10/2025
4.6
(246 Ratings)
CTgoodjobs selects quality courses to enhance professionals' competitiveness. By purchasing courses through links on our site, we may receive an affiliate commission.

Course Information

Registration period
Year-round Recruitment
Course Level
Study Mode
Duration
8 Hour(s) 18 Minute(s)
Language
English
Taught by
Mohammad Azam
Rating
4.6
(246 Ratings)
1 views

Course Overview

SwiftData - Declarative Data Persistence for SwiftUI

Swiftly Persist & Query Data: Declarative Code for Seamless SwiftUI Integration

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.

Course Content

  • 10 section(s)
  • 82 lecture(s)
  • Section 1 Introduction
  • Section 2 SwiftUI State Management Updates
  • Section 3 Getting Started with SwiftData
  • Section 4 One-to-Many Relationship
  • Section 5 Many-to-Many Relationship
  • Section 6 Understanding Queries
  • Section 7 Versioning/Migrations
  • Section 8 Persisting Genre and Performing Filters Based by Genre
  • Section 9 Persisting and Displaying Transformable Properties in SwiftData
  • Section 10 Testing

What You’ll 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.

Skills covered in this course


Reviews

  • T
    Terence Scott
    5.0

    I love it

  • I
    Ivan Hector Aquino Apaza
    5.0

    Bueno

  • L
    Laurence Stone
    3.5

    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.

  • D
    Darshan Mothreja
    5.0

    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.

Start FollowingSee all

We use cookies to enhance your experience on our website. Please read and confirm your agreement to our Privacy Policy and Terms and Conditions before continue to browse our website.

Read and Agreed