Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/user-interface/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Cocoa 在哪里可以找到用于可可粉的彩色指示器?_Cocoa_User Interface_Colors_Status - Fatal编程技术网

Cocoa 在哪里可以找到用于可可粉的彩色指示器?

Cocoa 在哪里可以找到用于可可粉的彩色指示器?,cocoa,user-interface,colors,status,Cocoa,User Interface,Colors,Status,我需要颜色指示器。需要能够做绿色,黄色和红色。有人知道怎么做吗?我查看了Interface Builder中可用的图标/etc,但没有看到任何类似的图标 像这样: 您可以在InstantMessage.framework中找到iChat/Mail/etc中使用的图像。目录是/System/Library/Frameworks/InstantMessage.framework/Resources 您可以获得状态可用.png,状态远离.png,以及状态空闲.png 当然,您也可以在应用程序中包含In

我需要颜色指示器。需要能够做绿色,黄色和红色。有人知道怎么做吗?我查看了Interface Builder中可用的图标/etc,但没有看到任何类似的图标

像这样:

您可以在InstantMessage.framework中找到iChat/Mail/etc中使用的图像。目录是
/System/Library/Frameworks/InstantMessage.framework/Resources

您可以获得
状态可用.png
状态远离.png
,以及
状态空闲.png


当然,您也可以在应用程序中包含InstantMessage.framework,并使用
[IMService imageNameForStatus:]
获取每个状态的系统映像名称,而不是不必要地在应用程序中包含额外的映像文件。使用10.6.8查看,在
InstantMessage
框架资源文件夹中找不到图标

或者从
/Applications/uTorrent.app/Contents/Resources


(当然,如果您有AutoCurrent)

使用10.8,我在
/System/Library/Frameworks/IMCore.framework/Resources
中找到了它们,它是指向
/System/Library/privateframes/IMCore.framework/Resources
的符号链接


这篇文章很老了,但我很难找到这些图标,所以…:)

里奇,你一点也不好玩@Allyn:Bling不是一个有效的标签,对问题没有任何补充。明白我的意思吗?没意思@艾琳:互联网是严肃的行业。