Suggestion for using the simulator to test data persistence


“Now build and run your completed application.” It took me a few minutes to figure out why my data wasn’t being saved: I was quitting the simulator with Cmd-Q and running the iOS application again from Xcode, so the applicationWillTerminate: method was not called. Since I believe this is the first point in the book where the simulator is used in this way, it might be nice to suggest that users press the home button and relaunch their application within the simulator in order to test data persistence.