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

NSDocument dealloc?


  • Subject: NSDocument dealloc?
  • From: Scott Johnson <email@hidden>
  • Date: Sun, 16 Sep 2001 08:02:01 -0400

Hello,

I have a cocoa application that is based on the document model provided in Cocoa and my setup is similar to that of the Sketch example (i.e. I have a custom window controller that manages UI-related activities of my document window while my document subclass handles data-related manipulation).

I am uncertain what I have done differently from Sketch (nothing that I can see) but for some reason my -dealloc method is never called when the document window is closed. There is only one document window associated with my document type.

I'd appreciate any tips as to why this is the case.

Regards,
Scott


  • Follow-Ups:
    • Re: NSDocument dealloc?
      • From: Mark Piccirelli <email@hidden>
  • Prev by Date: Re: Getting small time increments
  • Next by Date: Multiple windows and DO
  • Previous by thread: Re: Can't Create!
  • Next by thread: Re: NSDocument dealloc?
  • Index(es):
    • Date
    • Thread