I up to the first real test in chapter 16. I don’t have an errors in Xcode, but I get an exception in allItems. Looks like the fetchRequest comes up empty. Here’s the error:
Terminating app due to uncaught exception ‘Fetch Failed’, reason: ‘Reason: (null)’
Reason null is not very descriptive. If I remove the NSSortDescriptor I get the same thing.
I feel like I missed a step that would create the data base file. But it looks like everything is there. I have all of the classes and everything appears correct in Homepwner.xcdatamodeld.
There should not be any data yet since the app hasn’t created any records. So, in some respects results should come back empty.