Missing panels in Xcode 4?
So I built an app last year and based the framework off of the video tutorial shown by the woman from O'Reillys, Elisabeth Robson. I was trying to build a version using Xcode 4.0, but when she goe开发者_如何学Cs into the attributes tab, to change the type to NavController, I don't have that option in Xcode 4.0 Interface Builder. Anyone else run into this issue, how can I solve this?
I haven't seen the video, but it sounds like you want View -> Utilities -> Identity Inspector.
It looks like you want to change the type of view controller associated with a tab bar item.
On the left side of the IB window is a list with "Placeholders" and "Objects". Your tab bar controller should be in there. Click the triangle to open it and you should see "Tab Bar" and something like "View Controller - Item 1", etc.
Click "View Controller - Item 1", then look at the Identity Inspector. At the top is "Custom Class", which you use to change the class of the controller.
精彩评论