我需要顏色指示器。需要能夠做綠色,黃色和紅色。任何人都知道如何?我查看了Interface Builder中的可用圖標/ etc,但沒有看到類似的東西。我在哪裏可以找到在可可中使用的彩色指標?
像這樣: green indicator http://allynbauer.com/permafrost/green_indicator.png
我需要顏色指示器。需要能夠做綠色,黃色和紅色。任何人都知道如何?我查看了Interface Builder中的可用圖標/ etc,但沒有看到類似的東西。我在哪裏可以找到在可可中使用的彩色指標?
像這樣: green indicator http://allynbauer.com/permafrost/green_indicator.png
你可以找到在iChat /郵件的/ etc InstantMessage.framework中使用的圖像。該目錄是/System/Library/Frameworks/InstantMessage.framework/Resources
你可以得到status-available.png
,status-away.png
和status-idle.png
當然,而不是無謂地包括在你的應用額外的圖像文件,你也可以包括InstantMessage.framework在您的應用程序,並使用[IMService imageNameForStatus:]
來獲取每個狀態的系統映像的名稱。請參閱IMService Class Reference
使用10.6.8並找不到InstantMessage
框架資源文件夾中的圖標。
所以或者得到了那些從/Applications/uTorrent.app/Contents/Resources
(當然如果你的uTorrent的)
使用10.8,我發現他們在/System/Library/Frameworks/IMCore.framework/Resources
這是一個符號鏈接/System/Library/PrivateFrameworks/IMCore.framework/Resources
這個職位是很老但我有一些困難找到這些圖標,所以... :)
富有,你是沒有樂趣。 :) – Allyn 2009-03-05 22:50:36