In Xcode4, the new interface builder says “no selection”

前端 未结 4 1394
陌清茗
陌清茗 2021-02-19 21:44

I am using the xcode 4.02 for iPhone programming. In the new interface builder, when I click a button (or any other GUI-element) and go to the \"attributes inspector\" it says \

相关标签:
4条回答
  • 2021-02-19 22:06

    Does it work if you click the GUI element after making the attributes inspector visible?

    0 讨论(0)
  • 2021-02-19 22:08

    enter image description here

    Do you open the inspector window by clicking the 3 button in the views group? Once you do that the attribute inspector is shown on the left and you can now open the nib files and select any gui element.

    0 讨论(0)
  • 2021-02-19 22:09

    There seems to be a bug in Attributes Inspector in Xcode 4. When this happens to me I usually do this:

    • Switch to another (non IB) file in the current tab
    • Launch a new Tab (cmd T)
    • Open the original IB file in this new tab

    The Attributes Inspector will magically show in the new tab.

    0 讨论(0)
  • 2021-02-19 22:12

    I just had to close the assistant editor and the debug area and then it magically showed up. If you don't have the assistant editor open then all you need to do is open it, then close it again. That should fix it too.

    If you don't know what the assistant editor is I have highlighted it in red:

    Xcode 7.2

    0 讨论(0)
提交回复
热议问题