• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: renaming MyDocument
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >renaming MyDocument (From: Koen van der Drift <email@hidden>)

  • Prev by Date: Dragging text strings from NSMatrix cells (solution)
  • Next by Date: Re: A REALLY Basic question
  • Previous by thread: renaming MyDocument
  • Next by thread: Confused in sheets
  • Index(es):
    • Date
    • Thread