Faulty NSWindow connection in CoreData doc-based app?
Faulty NSWindow connection in CoreData doc-based app?
- Subject: Faulty NSWindow connection in CoreData doc-based app?
- From: Cameron Hendrix <email@hidden>
- Date: Thu, 04 Aug 2005 09:33:00 -0700
I have a core data document-based application for which code was generated by XCode. The window connection to the "file's owner" (MyDocument.h, I assume) in the MyDocument.nib file does not seem to be working. However, outlets can be added and connected to controls that are placed on the window, and work just fine. Also, I can access the window to, for example, set the alpha value by going through another control, for example:
[[scrollView window] setAlphaValue:0.5];
Is this a bug with the core data document template? No error is generated by the compiler or at runtime when I send a message to "window" (yes, I added IBOutlet NSWindow * window; to the MyDocument.h file). Also, I've tried it on two separate computers and the same thing seems to happen on both.
Any ideas?
Thanks,
Cameron
_______________________________________________
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