在捆绑包中创建新文件夹
我通过以下方式在我的应用程序中创建一个新包:
File Menu =>新=>新文件... =>资源=设置包... 这是我得到的文件夹结构:
- Test.bundle
- Root.plist
- en.lproj
现在我想在里面放一个“Images”文件夹它直接在 Test.bundle 下,但我无法这样做。虽然我可以将 Images 文件夹放在“en.lproj”文件夹中,但这样做好吗?
I am creating a new bundle in my application by this way:
File Menu => New => New File... => Resources = Settings bundle...
This is the folder structure I am getting:
- Test.bundle
- Root.plist
- en.lproj
Now I wanted to put an "Images" folder inside it directly under Test.bundle but I am unable to do so. Though I can put Images folder inside "en.lproj" folder, is it good to do that?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
捆绑包是 Finder 将其显示为文件的特殊文件夹。您可以通过右键单击(或按住 Control 键单击)并选择
显示包内容
,要求 Finder 将其视为文件夹。 Finder 将在捆绑包内打开一个新窗口,您可以根据需要添加文件夹和文件。A bundle is a special folder that Finder displays as a file. You can ask Finder to treat it as a folder by right clicking (or control clicking) on it and choosing
Show Package Contents
. Finder will open a new window inside the bundle, and you can add folders and files as much as you wish.