• 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: applicationShouldTerminateAfterLastWindowClosed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: applicationShouldTerminateAfterLastWindowClosed


  • Subject: Re: applicationShouldTerminateAfterLastWindowClosed
  • From: Andreas Mayer <email@hidden>
  • Date: Thu, 12 Feb 2004 02:48:51 +0100

Am 11.02.2004 um 05:23 schrieb Steve Palmer:

I set this in -(void)awakeFromNib in my AppController class. I also
connected File's Owner to AppController in IB which would presumably
make doing setDelegate redundant.

Hm. That should work ...

I verified that the delegate is never called.

Well, yes. But did you verify that your class is indeed the application's delegate?

Try

[[NSApp delegate] applicationShouldTerminateAfterLastWindowClosed:NSApp]

from somewhere else in your code and see if the correct method is called.

If that works, I don't know what else could be wrong.


bye. Andreas.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >applicationShouldTerminateAfterLastWindowClosed (From: Peter Wollschlaeger <email@hidden>)
 >Re: applicationShouldTerminateAfterLastWindowClosed (From: "M. Uli Kusterer" <email@hidden>)
 >Re: applicationShouldTerminateAfterLastWindowClosed (From: Steve Palmer <email@hidden>)
 >Re: applicationShouldTerminateAfterLastWindowClosed (From: Andreas Mayer <email@hidden>)
 >Re: applicationShouldTerminateAfterLastWindowClosed (From: Steve Palmer <email@hidden>)

  • Prev by Date: Re: applicationShouldTerminateAfterLastWindowClosed
  • Next by Date: Re: Very very simple applescript..... hmmm.
  • Previous by thread: Re: applicationShouldTerminateAfterLastWindowClosed
  • Next by thread: Re: applicationShouldTerminateAfterLastWindowClosed
  • Index(es):
    • Date
    • Thread