ios_catalogue1-8 Exercise 1: Search and the Duplicate Warning ============================================================== Expected: "dune" -> Dune appears (case-insensitive match on title). "HERBERT" -> Dune appears (the predicate also searches the creator). "blue" -> Kind of Blue appears (a match inside a word/phrase). "xyz" -> the system "No Results for xyz" view plus a button Add "xyz". Tapping it opens the form with the title already filled in. Adding "dune" by "frank herbert": as soon as both fields match, an orange line appears under the title: "You may already own this (1 match). You can still save it." Save still works (the spec says a warning, never a block). Editing the original Dune and leaving its fields alone shows NO warning, because $0 !== item excludes the item itself. If the list never updates while typing: .searchable is bound to the wrong state, or ItemListContent receives the model but not the search text (the text must be passed as a plain String so the view's init runs again). If Xcode rejects the ternary of two #Predicate values: build the predicate in an if/else and assign _items in each branch, or fold the empty case into one predicate. If searching crashes at runtime: read the console; the sources report predicate crashes with optional values and unsupported functions, and this predicate should use neither, so note the exact message and iOS version.