• 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
Re: applicationShouldTerminate: still not working
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: applicationShouldTerminate: still not working


  • Subject: Re: applicationShouldTerminate: still not working
  • From: Timothy Reaves <email@hidden>
  • Date: Sun, 20 Nov 2005 16:11:15 -0500

That's what it was. I was looking in the wrong place for the connection.

Thanks!


On Nov 20, 2005, at 2:50 PM, Andy Lee wrote:

On Nov 20, 2005, at 2:42 PM, Timothy Reaves wrote:
I've seen several posts in the archive about this, including my own. So I know I'm not the only one experiencing this. I have a fairly standard app; problem is, several window delegate methods are not being called, applicationShouldTerminate: being one of them. Several others, including windowShouldClose: are called fine.

-applicationShouldTerminate: is not a window delegate method; it is an application delegate method. You need to set the delegate outlet of your app's NSApplication instance.


--Andy

_______________________________________________ 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
References: 
 >applicationShouldTerminate: still not working (From: Timothy Reaves <email@hidden>)
 >Re: applicationShouldTerminate: still not working (From: Andy Lee <email@hidden>)

  • Prev by Date: How do I call a specific applescript handler and pass arguments?
  • Next by Date: Re: How do I call a specific applescript handler and pass arguments?
  • Previous by thread: Re: applicationShouldTerminate: still not working
  • Next by thread: Re: applicationShouldTerminate: still not working
  • Index(es):
    • Date
    • Thread