title: Application Will Terminate Notification & Saving Drafts (Core Data)
body: <p>If the user is currently in my edit view controller, I want to be able to save the changes when the user closes my app. To do this I am observing the <code>UIApplicationWillTerminateNotification</code> of the shared application. In my app delegate, I use the <code>applicationWillTerminate:</code> method to close things down and release all my core data contexts.</p>
  
  <p>The problem I'm finding is that the <code>applicationWillTerminate:</code> method in the app delegate gets called <em>before</em> any observers react to the <code>UIApplicationWillTerminateNotification</code> notification. This means that my core data stack has been released and closed before my edit view controller gets a chance to save anything!</p>
  
  <p>How is this usually overcome because I can't see a way!</p>
  
  <p>Many thanks,</p>
  
  <p>Michael</p>