如何在Xcode中的蓝色文件夹中创建一个新的.Storyboard文件?

发布于 2025-02-11 06:09:05 字数 283 浏览 0 评论 0原文

当我尝试通过右键单击一个灰色文件夹来创建新文件时,我会得到此窗口 在此处输入映像

但是,当我右键单击蓝色文件夹以执行相同的事情时,我得到了这个单个文件 在此处输入图像描述

When I try to create a new file by right clicking a grey folder I get this window
enter image description here

However, when I right click a blue folder to do the same thing I get this single file instead
enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

惜醉颜 2025-02-18 06:09:05

蓝色文件夹是文件夹参考。您可能需要将文件夹引用转换为实际文件夹。右键单击并在Finder中打开它,您会看到该路径与项目视图中的路径不同。您可以将其拖到项目中并打勾“创建组”。如果需要,您也可以勾选“复制物品”。

您还可以在不同的目的地上创建故事板,而不是将其拖入所需的文件夹参考。

A blue folder is a folder reference. You might want to convert the folder reference to an actual folder. Rightclick it and open it in finder, you will see that the path is different than in your project view. You can drag it into your project and tick 'Create groups'. You can also tick 'Copy items if needed' if wanted.

You also could create a storyboard on a different destination and than drag it into the desired folder reference.

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