• 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
failed to load window nib file 'XYZ'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

failed to load window nib file 'XYZ'


  • Subject: failed to load window nib file 'XYZ'
  • From: "Steve@DotMac" <email@hidden>
  • Date: Thu, 29 Dec 2005 03:17:19 -0600

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
  • Follow-Ups:
    • Re: failed to load window nib file 'XYZ'
      • From: Camillo Lugaresi <email@hidden>
  • Prev by Date: NSTabView backgroud
  • Next by Date: Re: setContent: vs bind:toObject:withKeyPath:options: ?
  • Previous by thread: Re: [ANN] PSMTabBarControl - Safari-style tabs
  • Next by thread: Re: failed to load window nib file 'XYZ'
  • Index(es):
    • Date
    • Thread