All I ever wanted to do was make a simple NSDocument based app..
Okay, here's the deal: I made my favorite subclass of NSDocument, and all was going well except for one thing - closing is all the way farked up. That is, I close my main window, and it's only taken off the screen. It's still in memory and still belongs to the NSDcoumentController (which I discovered by doing some timely NSLog's and by the fact that after I opened a file and tried to close it, I could never open it again). All I've implemented are readFromFile:ofType:, writeToFile:ofType:, init, makeWindowControllers, and windowControllerDidLoadNib: ... but none of these should cause the problem I'm describing.
Any ideas on what's going?
Thanks,
Matt