Re: Problems renaming MyDocument in cocoa document-based app
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: Thu, 14 May 2009 09:38:51 +1000
On 14/05/2009, at 02:41, Jeffrey Oleander 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.
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