什么是“导入的UTI"?在Xcode 4中? [英] What are "Imported UTIs" in Xcode 4?

查看:127
本文介绍了什么是“导入的UTI"?在Xcode 4中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Xcode 4中,项目信息中包含文档类型",导入的UTI"和导出的UTI"的列表.我知道什么文档类型,但是导入/导出的UTI是做什么用的?我是否还需要将每种文档类型都声明为导入/导出的UTI?我使用UTI.

谢谢.

解决方案

您的应用程序声明其用作导入或导出的UTI的UTI.

导出的UTI是您的应用程序具有权威性的UTI.也就是说,您拥有和定义的文档类型.

导入的UTI是您知道的文档类型,但某些其他应用程序可能具有权威性.

实践中的区别在于,如果一个应用程序声明了一个导入的UTI,而其他某个应用程序声明了相同的UTI,但作为导出的UTI,则OS将在导出的UTI数据上使用导出的UTI数据.

更多信息

In Xcode 4 there are lists for "document types", "imported UTIs" and "exported UTIs" in project info. I know what document types are, but what are the imported/exported UTIs for? Do I need to declare every document type as a imported/exported UTI as well? I use UTIs.

Thanks.

解决方案

Your application declares the UTIs it uses as imported or exported UTIs.

Exported UTIs are the UTIs for which your application is authoritative. That is, document types which you own and define.

Imported UTIs are document types which you know about but for which some other application may be authoritative.

The difference in practice is that if an application declares an imported UTI, and some other application declares the same UTI but as an exported UTI, the OS will use the exported UTI data over the imported UTI data.

More info

这篇关于什么是“导入的UTI"?在Xcode 4中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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