Take the 2-minute tour ×  I created a small test Mac app using
the Core Data template (on Lion 10.7 and Xcode 4). I used the
example on this site,
http://www.swampfoetus.net/chapter-7-fail/, to hook up all the
Cocoa Bindings with a tableview, an NSArrayController, a text
box and an Add button. The NSArrayController is linked to the
managedObjectContext of the App Delegate.  Everything seems to
work fine when I launch the app ... I can type in text and press
Add, and it gets saved in the tableview. I saved a few rows, and
then pressed Save in the file menu (linked to the saveAction
IBAction) and quit the app. I can see the data being saved in
the xml data file (I renamed it .xml ... the PSC is of type
NSXMLStoreType).  The problem is that when I launch the app
again, it launches without the data that was saved in the Core
Data file in the previous run.  This happens each time ... I can
add data and it keeps appending to the data file, but at launch
it never seems to read from this data file.  Any ideas what co