开发者_如何学PythonI am having a problem in Xcode 4 where I have a tab bar controller and two nib files - one being the main window and the other being an other view - and when i try to make a tab view load from the other nib, Xcode 4 doesn't see the other nib. When the menu that should allow you to select a view comes down, nothing shows up...
UPDATE: My wording is very confusing. in the atributes tap, the drop down menu "nib name" isn't getting populated with my nib files.
HELP!
Picture: http://imageshack.us/photo/my-images/852/screenshot20110513at224.png/
Yes, this is broken in XCode 4 (now at 4.02). The dropdown will not populate, even if the nib in question is added to the relevant target. It is very likely that somebody at Apple forgot to make a connection inside a NIB somewhere, so IB is calling methods on a nil.
Try typing in the nib name without the .xib.
For example if your nib is called DetailViewController.xib, type in DetailViewController.
Have you tried just typing the name of the Nib file into that field?
精彩评论