• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
my Graceful Application Termination doesn't work with my applicationShouldTerminate
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

my Graceful Application Termination doesn't work with my applicationShouldTerminate


  • Subject: my Graceful Application Termination doesn't work with my applicationShouldTerminate
  • From: Francis Derive <email@hidden>
  • Date: Thu, 29 Jun 2006 15:46:41 +0200

Bonjour,


applicationShouldTerminate: is implemented in the delegate of the Application delegate.
I check the NSApp delegate is connected in IB as the App delegate outlet.


Now, Quitting the app having several windows open, what is displayed is the Alert panel saying
- (copied from the TextEdit example, with "minor" modification) :
"You have 2 documents with unsaved changes. Do you want to review these changes before quitting?"


But this is commented in my implementation of applicationShouldTerminate,
which should display :
"You have 2 documents //////////////////////////////////////////// quitting?"


I understand another code but my own is at work...
Could someone here tell me the point I miss - with many thanks ?


Francis. _______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: my Graceful Application Termination doesn't work with my applicationShouldTerminate
      • From: "Alan Smith" <email@hidden>
  • Prev by Date: Re: Implementing a TCP port listener in Cocoa
  • Next by Date: Re: NSImage bug? NEF Files.
  • Previous by thread: Re: beginer: force NSTextField to accept numeric input only
  • Next by thread: Re: my Graceful Application Termination doesn't work with my applicationShouldTerminate
  • Index(es):
    • Date
    • Thread