LoadNib not working
LoadNib not working
- Subject: LoadNib not working
- From: Cyril Godefroy <email@hidden>
- Date: Tue, 5 Jun 2001 09:01:46 +0200
Hi,
I have something rather strange happening: a nib which apparently loads
but won't appear.
Here's the code:
- (void)showCountDown:(NSBundle*)bundle
{
if (![[bundle class] loadNibNamed:@"CountDown" owner:self]) {
NSLog(@"Failed to load CountDown.nib");
NSBeep();
return;
}
}
I find this rather strange, and have very little code to compare with.
First of all, this occurs in a dockling, so it might be a little
specific. Also, I went around the tutorials and documentation and have
not yet found a good explanation of nibs, how they load, what IBAction
and IBOutlet are, and how multiple controllers talk to each other
regarding their loading their nibs.
Some help welcome. Thanks
Cyril Godefroy
homepage.mac.com/cgodefroy