[Xcode 4] NSBundle loadNibNamed:@"MyNib"owner:self failing silently but works under XCode 3?
[Xcode 4] NSBundle loadNibNamed:@"MyNib"owner:self failing silently but works under XCode 3?
- Subject: [Xcode 4] NSBundle loadNibNamed:@"MyNib"owner:self failing silently but works under XCode 3?
- From: Todd Blanchard <email@hidden>
- Date: Thu, 17 Mar 2011 12:16:36 -0700
I have a xib file with a window and some widgets on it. I want to load it to open the window.
This works fine under XCode 3 when building against OS 10.5. Loading this xib file fails when building the same project on XCode 4 against 10.6 with deployment targeted to 10.5.
[NSBundle loadNibNamed: owner:] returns false, but I have no idea why. No error is reported anywhere. No exception is thrown. No clue is provided as to the cause. There is no message in the build about any problems with the xib (although several other ones have warnings about content being clipped or view not fitting entirely on the screen - no idea how to find and fix those and tool is no help at all).
How might I track this mess down? Its a fairly complicated chunk of UI, not really keen on creating it from scratch again.
-Todd Blanchard
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden