SwiftData Techniques Conclusion

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Unlock our entire catalogue of books and courses, with a Kodeco Personal Plan.

Unlock now

In this lesson, you learned how to use NavigationSplitView to present data on larger screens, with a sidebar and detail views. You also used the unique attribute to help eliminate duplicate data. Employing SwiftData’s fetch() with FetchDescriptor, you were able to create a record in the app after you used the fetch function to check the data stores first. Having created a modelContainer yourself, you were able to implement undo, and finally, you created a custom named schema with ModelConfiguration. In the next lesson, you’ll learn how to sync data with CloudKit, use DocumentGroup for macOS, and use concurrency on large data sets. See you in the next lesson.

See forum comments
Download course materials from Github
Previous: SwiftData Techniques Demo Next: Lesson 3: SwiftData Techniques Quiz