如何让 Xcode 将 xib 文件创建为 file.xib 而不是 sourcecode.xib?

发布于 2024-10-10 09:40:11 字数 168 浏览 0 评论 0原文

我的 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

緦唸λ蓇 2024-10-17 09:40:11

在“文件类型”下的 XCode 首选项中,确保使用“外部编辑器(当前为 Interface Builder)”打开 xib 文件

In XCode preferences under "File Types" make sure xib files are opened using "External Editor (Currently Interface Builder)"

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文