In my app I have a UIViewController and a UIView named
- HomeViewController
- HomeView
They are both being loaded from a nib and the nib files are named the same as the class names When I try to initialize my ViewController:
HomeViewController *h = [[HomeViewController alloc] init];
It tries to load the viewController using the nib file for my UIView instead of the nib for my ViewController, If i load using initWithNibNamed it works fine.
Is this a bug in iOS I have never had this problem before. I am running against iOS 5 beta 5