Possible Duplicate:
Can you reference Xib files from static libraries on the iPhone?

I have created an iOS framework and it includes a xib view. When I debugged the program, this line of code worked fine:

MyViewController *controller = [[MyViewController alloc] initWithNibName:@"MyView" bundle:[NSBundle mainBundle]];

However, when I 'reference' the framework from another project - the nib is no longer in the 'mainBundle'. What should I do with the code above (that is part of the framework) so it loads from the framework and not the consuming application project?

Edit
Report