ios_catalogue1-4 Exercise 1: Run the List Screen ================================================= Expected on a fresh install: 1. First launch: large title "My Catalogue", a row of chips All / Book / CD / DVD / Blu-ray (they appear a moment after launch, once seeding has inserted the types), and the message "Your catalogue is empty" / "Tap + to add your first item." This is the "no items at all" state (items.isEmpty). 2. Tap + three times: three "Sample item" rows appear at once, newest first, each with "Sample creator" and the line "Book". (The temporary addSampleItem uses the first type, Book.) 3. Tap the CD chip: no item has type CD, so shownItems is empty while items is not, and the message becomes "Nothing of this type yet" / "Choose All to see everything." 4. Tap All: the three rows return. If the chips never appear: seeding did not run: check that RootView is the app's root and calls ensureSeeded in .task, and that the model container is attached with .modelContainer(container). If the app crashes at launch: read the console message; a store left over from before Chapter 3's sortOrder change is the usual cause (delete the app from the simulator). If the canvas preview is blank or crashes while the simulator works: check that the previews use the SHARED containers from PreviewData, not new ones.