I have a document-based application that uses garbage collection. It's straight-forward in terms of having subclasses of NSDocument, NSWindow, and NSWindowController, and documents have a single window (with drawer, if that makes any difference).
But when I close a window/document, the window gets orderedOut, so it never closes. I can, for example, use the scripting interface after a document has been closed and make its window visible again. When I close I see performClose: being called, windowShouldClose: being called on the delegate (the window controller), then close on the window, followed by windowWillClose: on the delegate, and then orderOut on the window. Any thoughts/suggestions? -- Shane Stanley <[email protected]> 'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/> _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
