The code below explodes on the loadNibNamed call but I have done this many times ... where am I wrong?

@interface About : NSPanel {

}


- (IBAction)about:(id)sender {
        
        About *aboutpanel = [[About alloc] init];
        [aboutpanel retain];
        BOOL ok = [NSBundle loadNibNamed:@"About" owner:aboutpanel];
        if(ok)
        {
                [NSApp runModalForWindow:aboutpanel];
        }
        
        
}


any help appreciated ...


-koko



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to