`
ydbc
  • 浏览: 722825 次
  • 性别: Icon_minigender_1
  • 来自: 大连
文章分类
社区版块
存档分类
最新评论

IOS for any added folders

 
阅读更多

1.Create groups for any added folders:

把选择的文件添加到工程的group下。
应该它生成的文件夹是黄色的。

2.Create folder references for any added folders:

这种方法是建立一个文件夹的索引,同时文件夹中的所有文件也会添加到整个工程。
应该他生成的文件夹是蓝色的。

黄色和蓝色有什么区别呢?

我们做一个测试
   self.image.image=[UIImage imageNamed:@"111.jpg"]; 
 //  不会显示图片


self.image.image=[UIImage imageNamed:@"myimages/111.jpg"];
//  显示图片


self.image.image=[UIImage imageNamed:@"222.jpg"];
//  显示图片

    self.image.image=[UIImage imageNamed:@"images/222.jpg"];
//  不会显示图片
也就是说

我们在做ios开发的时候经常是黄色的,在做cocos的时候经常是蓝色的,
如果文件夹是黄色的,你不需要加上路径
如果文件夹是蓝色的,你需要加上路径

其实我们可以这样理解

看到黄色文件夹,说明它很色,它已经把衣服脱了,你可以直接使用它里面的东西
看到蓝色文件夹,说明它很矜持,如果你想怎么的,你需要给它脱一脱



分享到:
评论

相关推荐

    Python库 | Folders-0.0.5-py3-none-any.whl

    python库。 资源全名:Folders-0.0.5-py3-none-any.whl

    EurekaLog_7.5.0.0_Enterprise

    2)....Fixed: Range check error in processes information for x64 machines (affects startup of any EurekaLog-enabled module) 3)....Fixed: Auto-detect personality by project extension if --el_mode switch...

    Python库 | sync_folders-1.2.1-py3-none-any.whl

    python库,解压后可用。 资源全名:sync_folders-1.2.1-py3-none-any.whl

    PyPI 官网下载 | sync_folders-1.2.1-py3-none-any.whl

    资源来自pypi官网。 资源全名:sync_folders-1.2.1-py3-none-any.whl

    Rainbow Folders 2 V2.2.0

    使用 Rainbow Folders,您可以在 Unity 项目浏览器中为任何文件夹设置自定义图标和背景。 只需按住 Alt 键,然后单击任何一个文件夹。接着会出现一个配置对话框,您可以为其分配一个自定义图标和背景,您可以自己...

    Python库 | heaserver_folders-1.0.0a18-py3-none-any.whl

    资源分类:Python库 所属语言:Python 资源全名:heaserver_folders-1.0.0a18-py3-none-any.whl 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059

    IOS5 Programming Cookbook

    1.6 Packaging iOS Apps For Distribution 21 1.7 Declaring Variables in Objective-C 27 1.8 Comparing Values in Objective-C with an If Statement 29 1.9 Implementing Loops with For Statements 32 1.10 ...

    myBase Desktop 6.1.1 11/1/2012 绿色 完美破解版

    Added: the plugin: Compare any two disk folders, and report difference between the two folders; It doesn't run recursively into sub folders; Added: the plugin API: plugin.getCalendarAttr(), for ...

    批量建立文件夹(Text2Folders) v1.1.6.1.rar

    Text2Folders 从字面上看,是一个Txt转目录的软件,不过那样翻译就太直接了,不难理解的是,本软件可以利用txt 文件建立大量文件夹! 建立一个txt文档,每行输入一个文件夹名字,选好 txt 文件以及主目录,瞬间...

    Delete SVN Folders.reg

    从svn服务器上下载的资源中都带有.svn文件(是用来记录文件状态的文件),有了它,你再也不用手动的去删除这些文件了,只需要双击运行这个文件,然后在需要清楚svn记录的文件夹上点击鼠标右键,选择“delete svn”,...

    Rainbow Folders 2 v2.3.0.unitypackage

    使用 Rainbow Folders,您可以在 Unity 项目浏览器中为任何文件夹设置自定义图标和背景。 只需按住 Alt 键,然后单击任何一个文件夹。接着会出现一个配置对话框,您可以为其分配一个自定义图标和背景,您可以自己...

    DIFileFinder v6.7.0 for D4-XE10.1 文件搜索

    DIFileFinder is collection of Delphi components to search the file system for files and or folders matching (or not matching) particular attributes and / or name patterns. Pattern syntax includes ...

    Poweramp-v3-build-862-uni.apk

    Multiple root folders for same storage can be added via new + button in Music Folders dialog •improved Folders Hierarchy parent folder info/removed Short folder names option •fixed shuffle order...

    eac3to V3.17

    * added support for MKV "SRT/UTF8", "SRT/ASCII", "ASS" and "SSA" subtitles * increased some internal buffers to avoid AC3 overflow in the "thd ac3 joiner" * fixed: frame counting didn't work for MKV ...

    Microsoft Remote Desktop for Mac

    Fixed an issue that was causing no free space to be reported for redirected folders. Added support for enforcing Remote Desktop Gateway device redirection policies. Remote Desktop Gateway feedback is ...

    iOS 6 Programming Cookbook

    Overcome the vexing issues you’ll inevitably confront when creating apps for the iPhone, iPad, or iPod touch. By making use of new and revised recipes in this updated cookbook, you’ll quickly learn ...

    OutlookAttachView v2.73

    o Added option to specify a custom date/time format for the filename in the 'Copy Selected Files To...' option, for example: %msgdate:yyyyMMdd% , %msgtime:HHmmss% * Version 1.67 o ...

Global site tag (gtag.js) - Google Analytics