I created a framework and added a xib file named "MyXibFile". I created a separate application and added this framework to it. I want to load this .xib
file to display the window from it.
I am using the following code snippet which is not working
-(void)launchDownloaderWindow
{
if (![NSBundle loadNibNamed:@"Download" owner:self])
{
NSLog(@"Nib loading failed");;
}
[appWindow makeKeyAndOrderFront:nil];
}
I can see the message in the console "Nib loading failed" Any suggestion how to solve this?