Re: "no document could be created"
Re: "no document could be created"
- Subject: Re: "no document could be created"
- From: James Spencer <email@hidden>
- Date: Sun, 13 Nov 2005 08:23:12 -0600
On Nov 13, 2005, at 8:04 AM, Koen van der Drift wrote:
Hi,
Just started a new cocoa-document based application. I added a
windowcontroller, and changed the name of MyDocument to FPDocument
for the source files, nib file, and in the code. When I do not
rename MyDoument (the class, not the file), then the app starts
without a problem. But when I also change the class name of
MyDocument, I get a error dialog saying "No document could be
created". The run log says "The DocumentType type doesn't map to
any NSDocumentClass".
I have made document based apps before, but never ran into this
problem.
Is there another place where I need to change MyDocument?
thanks,
You also have to change it in the info.plist. Get Info on the target
and you will see the document information down at the bottom about
half way across you will see the class for the document.
Spence
James P. Spencer
Rochester, MN
email@hidden
"Badges?? We don't need no stinkin badges!"
_______________________________________________
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