Re: Replacement for openUntitledDocumentOfType:display:?
Re: Replacement for openUntitledDocumentOfType:display:?
- Subject: Re: Replacement for openUntitledDocumentOfType:display:?
- From: Jeff Nouwen <email@hidden>
- Date: Sat, 24 Dec 2005 21:43:29 -0700
On 24-Dec-05, at 7:23 PM, Andreas Mayer wrote:
From the documentation:
"openUntitledDocumentAndDisplay:error:
<snip>The default implementation of this method invokes defaultType
to determine the type of new document to create<snip>
Seems to be a likely candidate, no?
But that there is the problem. It doesn't let you specify the type,
and unless I subclass NSDocumentController (which I really don't want
to do), then this is no different, really, than calling -
newDocument:. I realize I forgot to mention that I have more than one
NSDocument type in my app.
Unless I'm misunderstanding something?
- Jeff
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden