NSPersistentDocument problem
NSPersistentDocument problem
- Subject: NSPersistentDocument problem
- From: Tomek Piatek <email@hidden>
- Date: Thu, 17 Nov 2005 16:42:23 +1300
Hi Folks,
I am implementing a simple CoreData Document-based application. My
implementation of my document class is pretty minimal and basically
only overwrites "initWithType:error:" method. Here's my problem:
Each document has an NSTimer which triggers a method which updates
some time statistics for the document. The problem is that when I try
to save the document and eventually close it the timer keeps firing.
I would like to perform some tasks, like invalidating the timer, when
the user decides to save their document or when they try to close the
window of an unsaved document. I can't find anything in the
documentation that looks like a suitable candidate for overwriting.
Any help will be greatly appreciated.
cheers,
tomek
_______________________________________________
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