Summary
In this chapter, I have given a brief introduction to SwiftData, a new persistency framework ORM that is designed to work with SwiftUI that will likely become increasingly more important, but at the time of writing this book is not completely mature yet. You have learned how to start a simple Xcode project that uses SwiftData and how different types of relationships can be specified in the data model. In the next chapter, we will talk about consuming data from REST services.