Skip navigation.
 
mlKeeping an NSDocument Open
FROM : Craig Altenburg
DATE : Wed Jul 26 22:07:09 2006

I need to keep my NSDocument open even after the last window closes.

The documentation that I can find seems to indicate that this should 
be possible but I have yet to find an easy way to do it.  I suppose I 
could hang a dummy window controller on the document but that seems 
way to ugly a hack.

Does anyone have a suggestion on how I should proceed?

<rant>
  It would be so much easier if Apple would make the source to
  Cocoa classes available to developers (like PowerPlant was).
  Whenever I need to override some method I'm always left
  wondering what might break due to some side effect that I
  don't know about.
</rant>

--
Craig

Related mailsAuthorDate
mlKeeping an NSDocument Open Craig Altenburg Jul 26, 22:07
mlRe: Keeping an NSDocument Open j o a r Jul 26, 22:13
mlRe: Keeping an NSDocument Open Craig Altenburg Jul 27, 01:57
mlRe: Keeping an NSDocument Open [SOLVED] Craig Altenburg Jul 27, 23:47