Re: Can't create new document
Re: Can't create new document
- Subject: Re: Can't create new document
- From: Neil Earnshaw <email@hidden>
- Date: Thu, 3 Jul 2003 18:56:39 +0100
My application compiles without a warning. she's written with
Objective-C.
And when I launch the application I get a message "Can't create new
document".
Does anybody know what is my mistake ? Or is this error too common to
be solved this way ?
Cyprien
Did you change the class name for your NSDocument subclass from the
default
MyDocument? If so, you should check your project's Info.plist settings,
specifically the "Document Types" section. Make sure that the "Document
Class" entry matches that of your NSDocument subclass.
I've found that you also have to clean all targets after you change the
Document Class for the change to take effect.
Neil
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.