• 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 15:32:42 +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: question about -init methods
  • Next by Date: Re: darken grey NSToolbar
  • Previous by thread: [Moderator] List guidelines and related resources
  • Next by thread: NSDocumentController overriding NSApp delegate?
  • Index(es):
    • Date
    • Thread