Re: Getting notified when a document closes
Re: Getting notified when a document closes
- Subject: Re: Getting notified when a document closes
- From: mmalcolm crawford <email@hidden>
- Date: Wed, 16 Mar 2005 23:49:37 -0800
On Mar 16, 2005, at 7:21 PM, Andrew White wrote:
When a document (NSDocument) closes, I want to signal all the other
documents in the application (some may need to redraw windows). Is
this possible / plausible? How do I do it?
Subclass NSDocumentController:
- (void)removeDocument:(NSDocument *)document
Removes document from the list of open documents. A document will
automatically call removeDocument: when it closes. This method is
mostly provided for subclassers that want to know when documents close.
mmalc
_______________________________________________
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