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
This content was released on Mar 19 2025. The official support period is 6-months
from this date.
You learned about NavigationSplitViews, unique attribute, fetch, modelContainer, undoManager, and custom scheme with ModelConfiguration.
Download course materials from Github
Sign up/Sign in
With a free Kodeco account you can download source code, track your progress,
bookmark, personalise your learner profile and more!
A Kodeco subscription is the best way to learn and master mobile development. Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalog of 50+ books and 4,000+ videos.