Xcode图标的位置 [英] Location of Xcode icons

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

问题描述

我看了一下Xcode包,注意到UI上可见的一些图标不存在,例如带有锤子的Run按钮。

I was taking a look at the Xcode bundle and noticed that some of the icons visible on the UI don't exist there, eg, the Run button with the hammer on top.

他们会在哪里?您还可以在哪里将资源存储在Cocoa应用程序中?

Where would they be? Where else can you store resources in a Cocoa application?

推荐答案

开发人员工具使用存储在 / Developer / Library / PrivateFrameworks 。资源从这些框架加载。您提到的锤子图标位于:

The developer tools use several private frameworks that are stored in /Developer/Library/PrivateFrameworks. The resources are loaded from these frameworks. The hammer icon you mention is in:

/Developer/Library/PrivateFrameworks/DevToolsInterface.framework/Versions/A/Resources

这只能是因为Apple使用安装程序创建了整个 / Developer 目录结构,的共享框架。通常你会在应用程序包中包含任何使用的框架,特别是在 Contents / Frameworks 文件夹中。

This is only possible because Apple creates the entire /Developer directory structure with an installer, so the location of the shared frameworks is known. Normally you'd include any used frameworks in your application bundle, specifically in the Contents/Frameworks folder.

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

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