• 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
NSDocumentController overriding NSApp delegate?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSDocumentController overriding NSApp delegate?


  • Subject: NSDocumentController overriding NSApp delegate?
  • From: Fredrik Olsson <email@hidden>
  • Date: Fri, 07 Jul 2006 16:53:56 +0200

I have set the applications delegate in both my MainMenu.nib and in code
at awakeFromNib.

But my delegate methods does not get called. I want to have my own
applicationShouldTerminate: to replace the review changes alert with my
own. But alas, applicationShouldTerminate: nor
applicationShouldTerminateAfterLastWindowClosed: is ever called.

Is my hunch that NSDocumentController apply some magic valid? And if so,
how do I prevent it?

// Fredrik Olsson

_______________________________________________
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


  • Prev by Date: Re: How to identify the host app is Carbon or Cocoa in a context menu plugin.
  • Next by Date: Re: where have all the IVARS gone? (long time passing...)
  • Previous by thread: NSDocumentController overriding NSApp delegate?
  • Next by thread: [newbie]How to pop a window?
  • Index(es):
    • Date
    • Thread