• 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
NSDocument and quitting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSDocument and quitting


  • Subject: NSDocument and quitting
  • From: James Mastro <email@hidden>
  • Date: Tue, 9 Dec 2003 19:10:41 -0500

I have some data in my NSDocument subclass that needs to be cleaned up when quitting. One example being a temp folder that I need to delete. I tried doing this in dealloc, but it appears to not be called when quitting. It works fine when closing a document without quitting. Where can I put code that will definitely be called when the document goes away?

-jim
_______________________________________________
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.

  • Follow-Ups:
    • Re: NSDocument and quitting
      • From: Stephen Magyari <email@hidden>
  • Prev by Date: Re: (LaunchServices) OS X 10.3 file extensions/mime-types with LaunchServices
  • Next by Date: Re: Xcode style deployment: debug-symbols?
  • Previous by thread: Re: (LaunchServices) OS X 10.3 file extensions/mime-types with LaunchServices
  • Next by thread: Re: NSDocument and quitting
  • Index(es):
    • Date
    • Thread