failed to load window nib file 'XYZ'
failed to load window nib file 'XYZ'
Folks;
Well its 3am and I'm really toasted on this one.
I did some mod's to this window (Preferences) several days ago. Now
when I attempt to open it at runtime I get this error:
-[PreferenceController loadWindow]: failed to load window nib file
'Preferences'
//App Delegate method called by the menu item:
-(IBAction)showPreferences:(id)sender {
if (!preferenceController) { preferenceController =
[[PreferenceController alloc] init];} //preferenceController is an
NSWindowController
[preferenceController showWindow:self];
}
///preferenceController's init code:
-(id)init {
self = [super initWithWindowNibName:@"Preferences"];
[self managedObjectContext];
return self;
}
The full init runs. The whole cascade of managedObjectContext fires
just like it always has.
I have unbound all objects that I have modified in the last several
days...(still no joy)
Any pointers on how to debug this situation?
Basically its blowing up on the 'showWindow'.
It never gets to the 'awakeFromNib' method in preferenceController..
Thanks for ANY help, for now I need some sleep...
Steve
_______________________________________________
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