Re: NSWindowDidBecomeMainNotification firing twice?
Re: NSWindowDidBecomeMainNotification firing twice?
- Subject: Re: NSWindowDidBecomeMainNotification firing twice?
- From: Allan Odgaard <email@hidden>
- Date: Sun, 7 Mar 2004 21:41:41 +0100
On 7. Mar 2004, at 20:03, James McConnell wrote:
In my application, I have a need to track which document is currently
the "main" document. I have set up the correct notifications and it
seems to be firing twice.
This is the code I have in - (void)awakeFromNib: in MyDocument
Each new document will cause the Nib to be loaded (to create a new
instance), so you'll add a new notification each time.
_______________________________________________
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.