如何让 Xcode 将 xib 文件创建为 file.xib 而不是 sourcecode.xib?
我的 xcode 开始崩溃,现在它总是使用 XML 源编辑器而不是界面生成器打开 xib 文件。
我知道如何通过在文件的“获取信息”处更改文件类型来解决特定文件的此问题。
我的问题是如何解决问题的根源并使 xcode 默认将 xib 文件制作为 file.xib ?
谢谢!
My xcode start to cracking up and now it always open xib files with XML source editor instead of in interface builder.
I know how to fix this problem for specific file by changing file type at the "Get Info" of the file.
My question is how can i solve the root of the problem and make xcode to make xib files as file.xib by default?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在“文件类型”下的 XCode 首选项中,确保使用“外部编辑器(当前为 Interface Builder)”打开 xib 文件
In XCode preferences under "File Types" make sure xib files are opened using "External Editor (Currently Interface Builder)"