Re: renaming MyDocument
Re: renaming MyDocument
- Subject: Re: renaming MyDocument
- From: Greg Titus <email@hidden>
- Date: Sat, 20 Jul 2002 12:04:03 -0700
On Saturday, July 20, 2002, at 11:10 AM, Koen van der Drift wrote:
I want to rename 'Mydocument' to a less general and more specific name.
So
I renamed MyDocument.m MyDocument.h and MyDocument.nib. I also changed
MyDocument in the Claases tab in Interface Builder. However, when I now
start the app, I get an error "can't create new document'. Do I need to
change something else as well?
Yep. You need to select the 'Targets' tab, choose your application
target, then select the 'Application Settings' tab. Under the 'Document
Types' setting, you need to select all of your document types (you
probably have only one), and for each one change the Document Class to
be the name of your class.
Hope this helps,
-Greg
_______________________________________________
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.