DocumentController subclass needed?
DocumentController subclass needed?
- Subject: DocumentController subclass needed?
- From: Mark Slater <email@hidden>
- Date: Wed, 23 May 2001 00:35:28 -0700
I'm writing a program that is designed to open and display a number of
different file formats. Eventually, it will also be able to create a new
document that combines these files into a package of sorts, my own
format. But the default behavior when the application starts is to
create a new document.
Is there an easy way to turn that off in my NSApplication instance, or
is this one of those cases where I'll need to write my own
NSDocumentController subclass? Alternatively, is there a simple way to
get the default action to present an open dialog rather than a new document?
Thanks!
Mark