• 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: Ben Golding <email@hidden>
  • Date: Mon, 18 May 2009 11:10:05 +1000


On 14/05/2009, at 09:38, Ben Golding wrote:

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?

Yes.

Hmmm, I have tried saving the .xib file as a .nib (3.0 format) and then the app works just fine. I think there's something awry with Xcode's dependency handling when a .xib is renamed. Time for a bug report I thing.


Ben.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

References: 
 >Re: Problems renaming MyDocument in cocoa document-based app (From: Jeffrey Oleander <email@hidden>)
 >Re: Problems renaming MyDocument in cocoa document-based app (From: Ben Golding <email@hidden>)

  • Prev by Date: Re: Debugger and stl containers
  • Next by Date: Re: Java Debugger in XCode 3.1.2 hangs when inspecting variables
  • Previous by thread: Re: Problems renaming MyDocument in cocoa document-based app
  • Next by thread: Xcode, Dashcode and Javascript frameworks
  • Index(es):
    • Date
    • Thread