Re: trouble after changing the name of a unit
Re: trouble after changing the name of a unit
- Subject: Re: trouble after changing the name of a unit
- From: Larry Fransson <email@hidden>
- Date: Sun, 14 Nov 2004 07:51:56 -0800
On Nov 14, 2004, at 03:51, Mark Patterson wrote:
Hi,
I am working on a Cocoa project to do some standard mods to html
files, sort of as a learning experience. I was doing it as a document
based app. The name it gave to the files was just the default
MyDocument and the same name was used for the class and the nib. I
decided after a while to rename it to HtmlDocument, by doing save as
in XCode and InterfaceBuilder, and changing the class in the nib. But
when I run it now I get an alert "New Can't create new document. OK".
When you change the document class, you have to make the change in the
Xcode project as well. Click on your target and open the inspector
(opt-cmd-i). Look under "Document Types". You will need to at least
change the class to match your new document class.
Larry Fransson
Seattle, WA
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden