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

旧街凉风 提交于 2019-12-04 00:38:53

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.

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

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.

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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!