XIB File opens like an XML in XCode but opens correctly with Interface Builder

前端 未结 7 754
说谎
说谎 2021-02-05 01:35

When I double-click my file StartWindow.xib in Xcode 4, it does not open into the integrated Interface Builder; it opens like a XML file. I can open all other xib files and they

7条回答
  •  青春惊慌失措
    2021-02-05 02:14

    Had this happen to me awhile ago. I had to go to File -> Close myfilename.xib and then reopen it before it would honor the file type. I think the shortcut is Ctrl + Cmd + W if you are looking at the file.

提交回复
热议问题