• 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: Problems renaming MyDocument in cocoa document-based app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems renaming MyDocument in cocoa document-based app


  • Subject: Re: Problems renaming MyDocument in cocoa document-based app
  • From: Jeffrey Oleander <email@hidden>
  • Date: Wed, 13 May 2009 09:41:25 -0700 (PDT)

> On Wed, 2009/05/13, Ben Golding <email@hidden> wrote:
> From: Ben Golding <email@hidden>
> Subject: Problems renaming MyDocument in cocoa document-based app
> To: "Xcode Users" <email@hidden>
> Date: Wednesday, 2009 May 13, 12:41
>
> I must have overlooked something really simple but I'm
> stumped about finding what it is.
>
> In short, when I try renaming the MyDocument in my app, I
> get the error message:
>
>     2009-05-13 15:33:35.304
> YourDocument[2097:10b] -[NSWindowController loadWindow]:
> failed to load window nib file 'YourDocument'.
>
> I've managed to replicate the problem with the following
> steps:
>
> 1. Create new coca document-based app, call it
> "YourDocument"
> 2. Change MyDocument.m -windowNibName to return
> "YourDocument"
> 3. Rename MyDocument.[mh] to YourDocument.[mh]
> 4. Rename class MyDocument to YourDocument in
> YourDocument.[mh]
> 5. Go to Target>YourDocument, get info, properties,
> change doc type to YourDocument
> 6. Rename MyDocument.xib to YourDocument.xib
> 7. Open YourDocument.xib in IB, change File's Owner class
> to YourDocument
> 8. Build and Go
> 9. Note error in console log

Did you rename them from within Xcode?




 _______________________________________________
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

  • Follow-Ups:
    • Re: Problems renaming MyDocument in cocoa document-based app
      • From: Ben Golding <email@hidden>
  • Prev by Date: Re: Linker woes
  • Next by Date: Re: iPhone 2.2 docs (14.8) still crash Xcode
  • Previous by thread: Problems renaming MyDocument in cocoa document-based app
  • Next by thread: Re: Problems renaming MyDocument in cocoa document-based app
  • Index(es):
    • Date
    • Thread