I'm working on a core data app, which, like most core data apps, has all the code for saving the database within ApplicationShouldTerminate. However, in one case, I want the program to shut down without saving the database.
I doubt that there's any way to completely bypass the ApplicationShouldTerminate method, so is there a notification or something that I can set in the call to terminate that I could query in that method to quit before anything gets saved?
I doubt that there's any way to completely bypass the ApplicationShouldTerminate method, so is there a notification or something that I can set in the call to terminate that I could query in that method to quit before anything gets saved?