XCode:放置图像资源的位置 [英] XCode: Where to put image resources

查看:104
本文介绍了XCode:放置图像资源的位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想为我的应用程式新增一些应用程式图示启动图片我的代码文件被组织在Xcode中的组中,并且在文件系统中相同。我试图用我的PNG图像拖动一个名为 Resources 的文件夹到我的应用程序,然后尝试将它们添加为应用图标启动图片为我的应用程序,但Xcode然后给了我一个警告,并将文件复制到我的项目的根 - 在Xcode和文件系统。 >

是否正常,图像放在根(与xcodeproj文件相同的级别)?

解决方案

是的,没关系。我建议你不要担心文件系统和组织你的项目中的文件/目录。



它与iTunes一样:你不在乎什么和在哪里你的文件是,但你有一个很好的接口来使用他们。


I'm trying to add some App Icons and Launch Images for my App. My code-files are organized in groups inside Xcode and the same in the File System. I tried to drag a folder named Resources with my PNG images into my App and afterwards trying to add them as the App Icons and Launch Images for my App, but Xcode then gave me an warning and copied the file to the root of my project -- both in Xcode and File System.

Is it normal, that the Image are put in the root (in same level as the xcodeproj file)?

解决方案

Yes it's OK. What can I suggest you is not to worry about filesystem and organize your files/directories within the project.

It's same as with iTunes: you don't care what and where your files are, but you have a nice interface to work with them.

这篇关于XCode:放置图像资源的位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆