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

NSDocument notification


  • Subject: NSDocument notification
  • From: Craig Bakalian <email@hidden>
  • Date: Thu, 25 Nov 2004 03:44:06 -0500

Hi,
I hope you have a subclass of NSWindowController with the document. I think you need to listen to the window give off a -(void)windowDidBecomeKey: (NSNotification *)notification. Yet, you may not need to have a NSWIndowController. Just use some object that can become the delegate of the NSWindow. Make that object the delegate of the window and then implement the windowDidBecomeKey method.
Craig Bakalian
www.eThinkingCap.com


On Nov 24, 2004, at 9:08 PM, email@hidden wrote:


Are there any notifications I can listen for when you have multiple documents open and one that is not the front most is brought to the front and made the current document or do I have to subclass NSDocumentController?

Greg

_______________________________________________ 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: What's wrong with this code?
  • Next by Date: Re: What's wrong with this code?
  • Previous by thread: Re: NSDocument notification
  • Next by thread: Unicode case conversion
  • Index(es):
    • Date
    • Thread