• 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: "no document could be created"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: "no document could be created"
      • From: Koen van der Drift <email@hidden>
References: 
 >"no document could be created" (From: Koen van der Drift <email@hidden>)

  • Prev by Date: "no document could be created"
  • Next by Date: Re: "no document could be created"
  • Previous by thread: "no document could be created"
  • Next by thread: Re: "no document could be created"
  • Index(es):
    • Date
    • Thread