HOME > Development > SwiftData Declarative Data Persistence for SwiftUI

SwiftData Declarative Data Persistence for SwiftUI

  • Development
  • Mar 13, 2025
SynopsisSwiftData – Declarative Data Persistence for SwiftUI, a...
SwiftData Declarative Data Persistence for SwiftUI  No.1

SwiftData – Declarative Data Persistence for SwiftUI, available at $84.99, has an average rating of 4.77, with 82 lectures, based on 160 reviews, and has 1338 subscribers.

You will learn about 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. This course is ideal for individuals who are Swift developers who want to expand their knowledge and skills in data persistence. or iOS app developers who want to learn how to effectively store and retrieve data in Swift applications. or Beginner developers looking to understand the fundamentals of data persistence and querying in Swift using declarative code. or Developers interested in integrating data persistence seamlessly with SwiftUI for building robust and data-driven user interfaces. It is particularly useful for Swift developers who want to expand their knowledge and skills in data persistence. or iOS app developers who want to learn how to effectively store and retrieve data in Swift applications. or Beginner developers looking to understand the fundamentals of data persistence and querying in Swift using declarative code. or Developers interested in integrating data persistence seamlessly with SwiftUI for building robust and data-driven user interfaces.

Enroll now: SwiftData – Declarative Data Persistence for SwiftUI

Summary

Title: SwiftData – Declarative Data Persistence for SwiftUI

Price: $84.99

Average Rating: 4.77

Number of Lectures: 82

Number of Published Lectures: 81

Number of Curriculum Items: 82

Number of Published Curriculum Objects: 81

Original Price: $199.99

Quality Status: approved

Status: Live

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.
  • Who Should Attend

  • 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.
  • Developers interested in integrating data persistence seamlessly with SwiftUI for building robust and data-driven user interfaces.
  • Target Audiences

  • 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.
  • Developers interested in integrating data persistence seamlessly with SwiftUI for building robust and data-driven user interfaces.
  • 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 Curriculum

    Chapter 1: Introduction

    Lecture 1: Introduction

    Lecture 2: Prerequisites

    Lecture 3: Exercise Files

    Lecture 4: Resources

    Lecture 5: IMPORTANT – Xcode 15 Beta 5 Updates

    Chapter 2: SwiftUI State Management Updates

    Lecture 1: What has changed?

    Lecture 2: @State

    Lecture 3: @Bindable

    Lecture 4: @Environment

    Chapter 3: Getting Started with SwiftData

    Lecture 1: Saving a Movie

    Lecture 2: Fetching and Displaying Movies

    Lecture 3: Debugging SwiftData

    Lecture 4: Deleting a Movie

    Lecture 5: Updating a Movie

    Lecture 6: Resources

    Chapter 4: One-to-Many Relationship

    Lecture 1: NOTE: Xcode 15 Beta 6 Changes

    Lecture 2: Understanding One-to-Many Relationship

    Lecture 3: Adding Review Model and Configuring Relationship

    Lecture 4: Saving Review

    Lecture 5: NOTE: context.save vs context.insert

    Lecture 6: Displaying all Reviews for a Movie

    Lecture 7: Deleting Review

    Lecture 8: FIX: Deleting Review

    Chapter 5: Many-to-Many Relationship

    Lecture 1: Understanding Many-to-Many Relationship

    Lecture 2: Adding Actor Model and Configuring Relationship

    Lecture 3: Saving a New Actor

    Lecture 4: Displaying All Actors

    Lecture 5: Selecting Actors When Adding a New Movie

    Lecture 6: Displaying Actors for a Movie

    Lecture 7: Allowing Existing Actors to Select their Movies

    Lecture 8: FIX – Adding Movie After Deleting Causes an Error

    Chapter 6: Understanding Queries

    Lecture 1: IMPORTANT: Xcode 15 Updates for @Relationship and @Query

    Lecture 2: Understanding @Query Property Wrapper

    Lecture 3: Implementing Enum Based Sheets

    Lecture 4: Creating the User Interface to Support Filter Screen

    Lecture 5: Filter by Movie Title

    Lecture 6: NOTE: Update about @Transient Macro

    Lecture 7: Using @Transient Macro to Display Actors and Reviews Count for a Movie

    Lecture 8: Filter by Reviews Count

    Lecture 9: Filter by Actors Count

    Chapter 7: Versioning/Migrations

    Lecture 1: What is Versioning?

    Lecture 2: Xcode 15 Beta 5 – Changes

    Lecture 3: Custom Migration (Unique Constraint on Movie Names)

    Lecture 4: Lightweight Migration (Changing Property Names)

    Chapter 8: Persisting Genre and Performing Filters Based by Genre

    Lecture 1: Understanding the Starter Project

    Lecture 2: Implementing Genre Model

    Lecture 3: Saving Genre

    Lecture 4: Filtering Movies Based on Genre (Discovering Issues with Genre Enum)

    Lecture 5: Filtering Movies Based on Genre (Using GenreId for Filter)

    Lecture 6: Filtering Movies and Persisting State of the Filters

    Chapter 9: Persisting and Displaying Transformable Properties in SwiftData

    Lecture 1: What we will be building?

    Lecture 2: Implementing the Room Model

    Lecture 3: Implementing UIColorTransformer

    Lecture 4: Setting Up User Interface (ColorSelector)

    Lecture 5: Persisting Room Using SwiftData

    Lecture 6: Displaying All Rooms

    Chapter 10: Testing

    Lecture 1: Understanding the Starter Project

    Lecture 2: Setting Up Test Project and Writing Your First Test

    Lecture 3: Writing Tests to Calculate Budget Total and Remaining Amount

    Lecture 4: Setting Up Project for End-to-End Testing

    Lecture 5: Writing End-to-End Test for BudgetCategory and Transaction Flow

    Chapter 11: Syncing Data with iCloud Using CloudKit

    Lecture 1: What we will be building?

    Lecture 2: Persisting and Displaying Vegetables

    Lecture 3: Adding Notes Relationship

    Lecture 4: Managing Xcode Previews and Displaying Notes for Vegetable

    Lecture 5: Configuring CloudKit

    Lecture 6: Resolving CloudKit Errors

    Lecture 7: Live Syncing for Vegetables and Notes

    Chapter 12: Integrating SwiftData with UIKit Applications

    Lecture 1: Apples Documentation on Using Non SwiftUI Framework

    Lecture 2: Tour of the Starter Project

    Lecture 3: Setting Up the Model Container

    Lecture 4: Adding a New Todo Item

    Lecture 5: Displaying Todo Items

    Chapter 13: Storing Binary Data Using SwiftData

    Lecture 1: What we will be building in this section?

    Lecture 2: Tour of the Starter Project

    Lecture 3: Saving Binary Data (Images)

    Lecture 4: Displaying Images

    Lecture 5: Behind the Scenes (Debugging SwiftData)

    Lecture 6: Credit for Images

    Chapter 14: Conclusion

    Lecture 1: Bonus Lecture

    Lecture 2: Resources

    Instructors

  • SwiftData Declarative Data Persistence for SwiftUI  No.2
    Mohammad Azam
    Apple Featured iOS Developer and iOS Instructor
  • Rating Distribution

  • 1 stars: 0 votes
  • 2 stars: 2 votes
  • 3 stars: 7 votes
  • 4 stars: 37 votes
  • 5 stars: 114 votes
  • Frequently Asked Questions

    How long do I have access to the course materials?

    You can view and review the lecture materials indefinitely, like an on-demand channel.

    Can I take my courses with me wherever I go?

    Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don’t have an internet connection, some instructors also let their students download course lectures. That’s up to the instructor though, so make sure you get on their good side!