Getting notified when a document closes
Getting notified when a document closes
- Subject: Getting notified when a document closes
- From: Andrew White <email@hidden>
- Date: Thu, 17 Mar 2005 14:21:04 +1100
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?
The obvious way seems to be to iterate through [NSApp orderedDocuments]
calling a category method. The problem I can't work out is how to find out
*after* a document has closed that it has done so.
--
Andrew White
--------------------------------------------------------------------------
This email and any attachments are confidential. They may contain legally
privileged information or copyright material. You should not read, copy,
use or disclose them without authorisation. If you are not an intended
recipient, please contact us at once by return email and then delete both
messages. We do not accept liability in connection with computer virus,
data corruption, delay, interruption, unauthorised access or unauthorised
amendment. This notice should not be removed.
_______________________________________________
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