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

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


  • Follow-Ups:
    • Re: NSPersistentDocument problem
      • From: Tomek Piatek <email@hidden>
  • Prev by Date: "ld: warning multiple definitions of symbol ..."
  • Next by Date: Re: NSPersistentDocument problem
  • Previous by thread: Re: "ld: warning multiple definitions of symbol ..."
  • Next by thread: Re: NSPersistentDocument problem
  • Index(es):
    • Date
    • Thread