Swiftdata - Declarative Data Persistence For Swiftui
Published 6/2023
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz
Language: English | Size: 1.08 GB | Duration: 2h 12m
Published 6/2023
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz
Language: English | Size: 1.08 GB | Duration: 2h 12m
Swiftly Persist & Query Data: Declarative Code for Seamless SwiftUI Integration
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.
Requirements
Xcode 15 beta or above
Knowledge of Swift language is required
Knowledge of SwiftUI is recommended
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.
Overview
Section 1: Introduction
Lecture 1 Introduction
Lecture 2 Prerequisites
Lecture 3 Exercise Files
Lecture 4 Resources
Section 2: Getting Started with SwiftData
Lecture 5 Saving a Movie
Lecture 6 Fetching and Displaying Movies
Lecture 7 Debugging SwiftData
Lecture 8 Deleting a Movie
Lecture 9 Updating a Movie
Lecture 10 Resources
Section 3: One-to-Many Relationship
Lecture 11 Understanding One-to-Many Relationship
Lecture 12 Adding Review Model and Configuring Relationship
Lecture 13 Saving Review
Lecture 14 NOTE: context.save vs context.insert
Lecture 15 Displaying all Reviews for a Movie
Lecture 16 Deleting Review
Lecture 17 FIX: Deleting Review
Section 4: Many-to-Many Relationship
Lecture 18 Understanding Many-to-Many Relationship
Lecture 19 Adding Actor Model and Configuring Relationship
Lecture 20 Saving a New Actor
Lecture 21 Displaying All Actors
Lecture 22 Selecting Actors When Adding a New Movie
Lecture 23 Displaying Actors for a Movie
Lecture 24 Allowing Existing Actors to Select their Movies
Section 5: Understanding Queries (Coming soon)
Lecture 25 Coming soon…
Section 6: Migrating Core Data App to SwiftData (Coming soon)
Lecture 26 Coming soon…
Section 7: Testing (Coming soon)
Lecture 27 Coming soon
Section 8: Syncing Data with Cloud (Coming soon)
Lecture 28 (Coming soon)
Section 9: Building a Document Based App Using SwiftData (Coming soon)
Lecture 29 (Coming soon)
Section 10: Conclusion
Lecture 30 Bonus Lecture
Lecture 31 Resources
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.